I'm using 1.4.1 of the IBM VM. We're pretty much tied to WebSphere on this project, so even if we did upgrade to 6.0 in the near term (which we won't) we'd still only be on 1.4.2.
I tried altering the following part of the replace call in AspectManager.getInstrumentedClassLoader():
+ " $_ = $proceed($1, newBytes, 0, newBytes.length, $5) ;"
+ " $_ = $proceed($1, newBytes, 0, newBytes.length, $5, $6, $7) ;"
Just like before when I set jboss.aop.verbose to true it chatters on about trying to transform certain objects and determining what methods should be aspectized. That seems to indicate that the AspectManager is being called at the correct time before the defineClass0 method is called, and that classes are successfully being loaded to some degree.
Ultimately it dies at the same place as before. It still throws the same exception, stating that it is unable to aspectize a class because it is unable to find another class that it references.
Not sure if the above fix is the fix you were envisioning or not, but I thought I'd give it a try from what I understand about the code.
As far as the recursive classloading techniques, I'd be interested in trying that out, would I need to dig into javassist? I'll start there and see what I can find, but please feel free to give any directions you might find helpful (I understand that you're pretty strapped for time).
Thanks for the help,
This is basically asking for a short architectural overview. Some of this I dug up on the forums, but I would like a fairly detailed overview. Here's a little bit of a starting point......
Have you checked out our wiki? That's where all the info is kept (and in the forums!)
I take it that the mail services uses ejb-cmp in order to store all the actual data. IMAP support is planned, but not available yet (so I hear).
Does the email server support attachments? Do these attachments get stored in the database, or does the system use one of those horrible hybrid db/file systems that leaves half the data on your app server and half of it in the database.
It is all stored in the database
Can the mail server integrate with one of the java webmail systems out there? Is there a plan to integrate it with http://sourceforge.net/projects/jwma at some point in the future?
Web mail is planned. HOW has not been decided, but thanks for bringing up jwma
Is there a plugin architecture for spamasassin and similar modules?
It is planned. As Andy pointed out in some other thread, we need more users trying out JBoss Mail and demanding features for the project to go forward :-)