Andy,
In order to enable LTW you will have to modify the behaviour of either the JBoss server or the underlying JVM. This is needed to intercept class loading to give AspectJ an opportunity to weave the code. The simplest mechanism is to use -javaagent because no part of the system is replaced, instead the supplied AspectJ agent is called by the JVM. Whatever approach you use there will be a need to modify the server configuration because I don't believe there is a way to modify class loading simply by configuring the deployment process. However only those applications with an accompanying aop.xml file, i.e. yours, will experience LTW so there should be no affect on anyone else.
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, [EMAIL PROTECTED]
http://w3.hursley.ibm.com/~websterm/
| "Andrew Ochsner"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 18/09/2006 13:58
|
|
I do not control the environment (so therefore, I don't control the command line parameters to start it up). Basically, the container is already running and I just drop ears and wars into a directory to deploy. The container itself is managed by a completely separate team (they manage farms of these) and are not very keen on changing they way they do things.
Andy O
On 9/18/06, Matthew Webster <[EMAIL PROTECTED]> wrote:
Andy,
What is being shared, the installation or the instantiation? So do you share the definition of the system or the system itself. I am not familiar with the JBoss environment.
Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester, SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, [EMAIL PROTECTED]
http://w3.hursley.ibm.com/~websterm/
| "Andrew Ochsner"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 15/09/2006 20:33
|
|
Hi:
Here's my scenario:
I'm running in a shared JBoss environment so I can't change the JVM command line arguments to include a javaagent.
Is there any other way I could possibly enable LTW that anyone could possibly think of? Using Spring maybe?
I know this might be a very specific JBoss question, but any ideas would be appreciated.
Thanks
Andy O_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
