[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut

2009-08-12 Thread whitingjr
Try setting the RetentionPolicy on your method annotation. @Target({ElementType.METHOD}) | @Retention(RetentionPolicy.RUNTIME) | public @interface MyAnnotation {} This solved the problem for me. View the original post :

[jboss-user] [JBoss AOP] - Re: Aspects not invoking in EJB SLSB

2009-08-05 Thread whitingjr
I have humble pie to eat. The real problem was due to packaging of the application incorrectly. The aspected object classes created by the aopc compiler were not included in the .aop archive. Jeremy View the original post :

[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut

2009-08-04 Thread whitingjr
Hi, I also am trying to implement pointcuts using annotated methods. Also seeing the same problem of no aspect invocation. Jeremy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247756#4247756 Reply to the post :

[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut

2009-08-04 Thread whitingjr
BTW, the version of AOP I am using is 2.1.1.GA. The one bundled in AS 5.1.0.GA Jeremy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247776#4247776 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247776

[jboss-user] [JBoss AOP] - Aspects not invoking in EJB SLSB

2009-08-04 Thread whitingjr
Hi, I am having problems getting my pointcuts to execute when deployed to AS 5.1.0.GA. The aspected objects are precompiled and use declarative configuration. The same aspected objects are being invoked using JUnit tests and these work. My application is organised identically to the

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
Further update to my last post which was slightly misleading. Examining again the MANIFEST there was is a control character x0f before the carriage return and line feed which will explain things. Was a typo. Trying the manifest again with Class-Path: but without the control character and

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
Removed Class-Path: and still the same error is reported at server startup. Jeremy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244678#4244678 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244678

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
Yes that was the problem. Removed the Class-Path: entry from the manifest and it is working. Thank you for your help. Jeremy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244707#4244707 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
jar -tf MVCCSampleEJB.jar | META-INF/ | META-INF/MANIFEST.MF | uk/ | uk/ac/ | uk/ac/xxx/ | uk/ac/xxx// | uk/ac/xxx//mvcc/ | uk/ac/xxx//mvcc/ejb/ | uk/ac/xxx//mvcc/ejb/servicelocator/ | uk/ac/xxx//mvcc/impl/ | uk/ac/xxx//mvcc/model/ |

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
Manifest-Version: 1.0 | Class-Path: | Jeremy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244601#4244601 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244601 ___

[jboss-user] [EJB 3.0] - Re: Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
Here is a directory listing of the exploded EAR [whitin...@localhost ear]$ ls -R | .: | META-INF MVCCSampleEJB.jar | | ./META-INF: | application.xml jboss-app.xml MANIFEST.MF | and this is the jboss-app.xml contents. ?xml version=1.0 encoding=UTF-8 ? | !DOCTYPE jboss-app |

[jboss-user] [EJB 3.0] - Persistence Unit not found for EJB3 SLSB in AS 5.1.0.GA

2009-07-20 Thread whitingjr
' in abstractvfsdeploymentcont...@12556446{vfszip:/home/whitingjr/java/jboss-5.1.0.GA/server/default/deploy/MVCCSampleEAR.ear/} My application is an EAR module with a child EJB module. A very simple setup for the research project I am working on. This module has worked on JBoss AS 4.2.2. I have