-
1. Re: ClassNotFoundException on Server Startup
flavia.rainone Dec 26, 2007 4:01 PM (in response to flavia.rainone)Adrian, I think I have fixed the issue :-).
The good news is that now JBoss AS is faster.
I have measured start up time 5 times with and without the fix:
[list=]
Without the fix: 57s:000ms, 56s:523ms, 58s:512ms, 59s:179ms, and 1m:1s:315ms
With the fix: 43s:773ms, 43s:418ms, 42s:935ms, 45s:59ms, and 43s:761ms
So, apparently, the server is 25% faster! -
2. Re: ClassNotFoundException on Server Startup
flavia.rainone Dec 26, 2007 4:18 PM (in response to flavia.rainone)Adrian, in case you are wondering what would be cause of the bug...
The method Advisor.hasAnnotation(), that has the annotation name and the annotation class, was calling Advisor.hasJoinpointAnnotationFromStringName() method. This method receives only the annotation name and tries to load its class... so, a simple refactoring avoided this unnecessary class loading step, which was the one that was generating the error. -
3. Re: ClassNotFoundException on Server Startup
dimitris Dec 27, 2007 2:50 AM (in response to flavia.rainone)Great! Will that be a 2.0.0.CR2 then? GA is scheduled for ... 2009 in JIRA :-)
-
4. Re: ClassNotFoundException on Server Startup
flavia.rainone Dec 27, 2007 8:10 AM (in response to flavia.rainone)Tough question :)
Unfortunately, 2.0.0CR2 is already tagged... I should have released it last week, but I need the Messaging team ok for that (http://jira.jboss.com/jira/browse/JBAOP-253).
I only found out that after tagging the release (and, based on what I thought had been done for CR1, I thought I should reschedule the task for 2.0.0GA.).
Regarding the GA schedule in Jira, it is definitely wrong... probably Kabir meant 2007 instead of 2009. AFAIK, the current schedule is to release it in the next month. Maybe it won't be released soon enough, though. I think we should go for a CR3 on the beginning of the month to release this bug fix. -
5. Re: ClassNotFoundException on Server Startup
kabirkhan Jan 3, 2008 6:58 AM (in response to flavia.rainone)If the release has not been pushed out as a binary to the repository we can retag it in svn
$ svn remove https://svn.jboss.org/repos/jbossas/projects/aop/tags/JBoss_AOP_2_0_0_CR2/
Obviously, this depends on if you have started packaging the release yet :-) -
6. Re: ClassNotFoundException on Server Startup
flavia.rainone Jan 3, 2008 8:17 AM (in response to flavia.rainone)Yes, I have already packaged the release... the only thing that is not done is:
-publish it at jboss.org (need svn access for that)
-add it to buildthirdparty (because of the messaging issue I didn't know how to resolve)
-and, finally, add it to the maven repo...
If we can do a retagging, I think we should go for that. I am not sure, however, whether we should wait for the fix of JBAOP-499.
But maybe we should include, also, the fixes JBAOP-500 (I'm about to commit it) and JBAOP-256 (I have already done it, but need to test before commiting. -
7. Re: ClassNotFoundException on Server Startup
dimitris Jan 9, 2008 9:18 AM (in response to flavia.rainone)Ok, so when (asap) to expect an AOP release (CR3) that fixes this?
http://jira.jboss.com/jira/browse/JBAS-5111 -
8. Re: ClassNotFoundException on Server Startup
flavia.rainone Jan 9, 2008 10:10 AM (in response to flavia.rainone)We are currently facing a problem with PojoCache and AOP, when starting up the server on all mode.
Without this being fixed, we cannot do another release. :(
I'm working on it now. -
9. Re: ClassNotFoundException on Server Startup
flavia.rainone Jan 11, 2008 6:39 PM (in response to flavia.rainone)JBoss AOP 2.0.0.CR3 has been released today.
Thanks to Jason Greene's help, I have found out that the problem was being caused by an incompatibility with JBoss AOP 2.0.0.Beta1, which requires recompilation of Pojo Cache. Before this recompilation, the JBoss AOP version cannot be upgraded in the AS.
Kabir and Jason are coordinatinating our AOP release with a new release of PojoCache for that matter.