> The reason I am curious is the fact that the EAR deploys perfectly on one 9.2 > cluster, but not another.
I am perhaps stating the oblivious, but there must be some difference between the two clusters. That difference seems to be coming into the play. -Ramnivas On Fri, Feb 6, 2009 at 1:36 PM, Michael Laccetti <[email protected]> wrote: > I added the following to the WebLogic start command: > > > > -Dorg.aspectj.tracing.factory=default -Dorg.aspectj.tracing.enabled=true > -Dorg.aspectj.tracing.messages=true > > > > I don't see any file matching *core* in the server directory, though. > > > > Mike > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Andy Clement > Sent: February-06-09 1:25 PM > To: [email protected] > Subject: Re: [aspectj-users] WebLogic 9.2 + AspectJ = boom? > > > > Oh - one thing - when you say you turned on AspectJ trace - how did you do > that? Did you put -verbose in the weaver option section of the aop.xml? If > not, then that may produce more debug information for us. It would just be > helpful to see the whole of the stack trace for the exception I think - > which could come out in verbose mode or I'd expect to see it in a ajcore.* > > Andy. > > 2009/2/6 Michael Laccetti <[email protected]> > > I'm pretty confident – the Aspect and classes referenced by it are all > packed in a common jar that is deployed in WEB-INF/lib (in turn part of an > EAR). The reason I am curious is the fact that the EAR deploys perfectly on > one 9.2 cluster, but not another. > > > > I've pastebin'd some code – you can see the aspect in all of its hideous > glory here: http://papernapkin.org/pastebin/view/4337/ > > > > (Yes, I'm a noob with AOP. Try not to burn me too much.) > > > > Mike > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of Andy Clement > Sent: February-06-09 12:43 PM > To: [email protected] > Subject: Re: [aspectj-users] WebLogic 9.2 + AspectJ = boom? > > > > Hi Mike, > > Are you confident that > 'com.cryptologic.bsg.model.communication.BsgResponseMessage' is on the > classpath and accessible to the weaver? Sometimes, as a 'last resort' > AspectJ tries some of the imported prefixes on the front of types it is > having trouble finding - to see if it can locate it. A default imported > prefix is 'java.lang'. It might be that code which has added the rogue > prefix, but the underlying symptom is likely to be that it couldn't find the > 'com.cryptologic.bsg.model.communication.BsgResponseMessage' type. > > With the failure, is there an ajcore.* file produced containing more > information? > > How is the BsgResponseMessage referenced? Are you binding it in a pointcut? > Is that an annotation style pointcut '@Pointcut' or a code style pointcut > 'pointcut'? > > cheers, > Andy. > > 2009/2/6 Michael Laccetti <[email protected]> > > I deployed our application to a WebLogic 9.2 cluster, and ran into some > problems. In our development environment, everything worked okay, but in > staging... Not so much. We use the same JDK, and the Spring Agent for LTW. > The application deploys okay, and the REST services function as expected, > but the AOP stuff is non-operational. There was no errors or warnings, so I > turned on AspectJ logging. Now, I see the following in the logs: > > 19:43:21.127 [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default > (self-tuning)' E Unable to find class > 'java.lang.com.cryptologic.bsg.model.communication.BsgResponseMessage' in > repository java.lang.ClassNotFoundException: > java.lang.com.cryptologic.bsg.model.communication.BsgResponseMessage not > found - unable to determine URL > > I'm not sure where the "java.lang" part is coming from - this isn't > prepended on the development environment, since it works properly. Anybody > have a clue as to what is going on? > > Mike > _______________________________________________ > 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
