Announcement Announcement Module
Collapse
No announcement yet.
Pointcut is not well-formed: expecting 'name pattern' at character position 116 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pointcut is not well-formed: expecting 'name pattern' at character position 116

    I am using Jboss 4.2.1, I create an aspect and have the followling exception when deploy in JBoss and compiled from Eclipse:

    Pointcut is not well-formed: expecting 'name pattern' at character position 116execution(public com.XXXX.XXXX.backingbean.publish.PublishDAO.publi shDocument(DocumentItem) && args(documentItem))

    this is my Aspect class:

    package com.XXXX.XXXX.aop;

    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.aspectj.lang.annotation.After;
    import org.aspectj.lang.annotation.Aspect;
    import org.aspectj.lang.annotation.Pointcut;

    import com.XXXX.XXXX.bo.DocumentItem;

    @Aspect
    public class DashBoardAspect {

    Log log=LogFactory.getLog(DashBoardAspect.class);

    public void saveSuccessLogin(){

    }


    @After("execution(public com.XXXX.XXXX.backingbean.publish.PublishDAO.publi shDocument(DocumentItem) && args(documentItem))")
    public void saveDocumentItem(DocumentItem documentItem){

    log.info("-------------documentItemID:"+documentItem.getId());

    }
    }

    This is when I put in the spring configuration file
    <aop:aspectj-autoproxy/>

    <bean id="dashBoardAspect" class="com.XXXX.XXXX.aop.DashBoardAspect"/>

    thanks for your help

  • #2
    Perhaps it should be "execution(public * ...".

    Regards,
    Andreas

    Comment


    • #3
      no it is not working, any more idea.

      Comment


      • #4
        I just see the closing parenthesis of the execution element contains also the args element. This won't work. Besides that see here for configuration examples (argument specification is a bit below).

        This should work then:
        @After("com.XXXX.XXXX.backingbean.publish.PublishD AO.publi shDocument(DocumentItem) && args(documentItem)")

        Regards,
        Andreas

        Comment


        • #5
          after the change I get the following error:

          Severity and Description Path Resource Location Creation Time Id
          Pointcut is malformed: warning no match for this type name: DocumentItem [Xlint:invalidAbsoluteTypeName] publish.xml line 196 1206027308644 392639

          any idea, thanks

          Comment


          • #6
            I think the problem is that you should use fully qualified type name for DocumentItem.

            Code:
            @After("com.XXXX.XXXX.backingbean.publish.PublishDAO.publi shDocument(com.XXXX.XXXX.bo.DocumentItem) && args(documentItem)")
            -Ramnivas

            Comment


            • #7
              After I put the absolute package path of the argument, it still doesn't work with the following error:
              Pointcut is malformed: error at ::0 can't find referenced pointcut publishDocument

              look like it couldn't find the publishDocument method.

              any idea

              Comment


              • #8
                Missed "execution( *" part. Try the following:

                Code:
                @After("execution(* com.XXXX.XXXX.backingbean.publish.PublishDAO.publishDocument(com.XXXX.XXXX.bo.DocumentItem)) 
                && args(documentItem)")

                Comment


                • #9
                  now compile is fine, but getting run time error

                  SEVERE: Error Rendering View[/face/publish/publish.xhtml]
                  javax.faces.FacesException: org.springframework.beans.factory.UnsatisfiedDepen dencyException: Error creating bean with name 'publish' defined in class path resource [com/evergreen/researchjunction/publish/publish.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: Could not convert constructor argument value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: Failed to convert value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: no matching editors or conversion strategy found
                  at com.sun.faces.application.ApplicationImpl.createCo mponent(ApplicationImpl.java:240)
                  at com.sun.facelets.tag.jsf.ComponentHandler.createCo mponent(ComponentHandler.java:224)
                  at com.sun.facelets.tag.jsf.ComponentHandler.apply(Co mponentHandler.java:139)
                  at com.sun.facelets.tag.CompositeFaceletHandler.apply (CompositeFaceletHandler.java:47)
                  at com.sun.facelets.tag.jsf.ComponentHandler.applyNex tHandler(ComponentHandler.java:314)
                  at com.sun.facelets.tag.jsf.ComponentHandler.apply(Co mponentHandler.java:169)
                  at com.sun.facelets.tag.CompositeFaceletHandler.apply (CompositeFaceletHandler.java:47)
                  at com.sun.facelets.tag.ui.DefineHandler.applyDefinit ion(DefineHandler.java:64)
                  at com.sun.facelets.tag.ui.CompositionHandler.apply(C ompositionHandler.java:128)
                  at com.sun.facelets.impl.DefaultFaceletContext$Templa teManager.apply(DefaultFaceletContext.java:312)
                  at com.sun.facelets.impl.DefaultFaceletContext.includ eDefinition(DefaultFaceletContext.java:282)
                  at com.sun.facelets.tag.ui.InsertHandler.apply(Insert Handler.java:68)
                  at com.sun.facelets.tag.CompositeFaceletHandler.apply (CompositeFaceletHandler.java:47)
                  at com.sun.facelets.compiler.NamespaceHandler.apply(N amespaceHandler.java:49)
                  at com.sun.facelets.tag.CompositeFaceletHandler.apply (CompositeFaceletHandler.java:47)
                  at com.sun.facelets.compiler.EncodingHandler.apply(En codingHandler.java:25)
                  at com.sun.facelets.impl.DefaultFacelet.include(Defau ltFacelet.java:248)
                  at com.sun.facelets.impl.DefaultFacelet.include(Defau ltFacelet.java:294)
                  at com.sun.facelets.impl.DefaultFacelet.include(Defau ltFacelet.java:273)
                  at com.sun.facelets.impl.DefaultFaceletContext.includ eFacelet(DefaultFaceletContext.java:144)
                  at com.sun.facelets.tag.ui.CompositionHandler.apply(C ompositionHandler.java:113)
                  at com.sun.facelets.compiler.NamespaceHandler.apply(N amespaceHandler.java:49)
                  at com.sun.facelets.compiler.EncodingHandler.apply(En codingHandler.java:25)
                  at com.sun.facelets.impl.DefaultFacelet.apply(Default Facelet.java:95)
                  at com.sun.facelets.FaceletViewHandler.buildView(Face letViewHandler.java:509)
                  at com.sun.facelets.FaceletViewHandler.renderView(Fac eletViewHandler.java:552)
                  at org.ajax4jsf.application.ViewHandlerWrapper.render View(ViewHandlerWrapper.java:108)
                  at org.ajax4jsf.application.AjaxViewHandler.renderVie w(AjaxViewHandler.java:216)
                  at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:106)
                  at com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:251)
                  at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:144)
                  at javax.faces.webapp.FacesServlet.service(FacesServl et.java:245)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.apache.myfaces.webapp.filter.ExtensionsFilter. doFilter(ExtensionsFilter.java:147)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter .java:307)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.springframework.orm.hibernate3.support.OpenSes sionInViewFilter.doFilterInternal(OpenSessionInVie wFilter.java:198)
                  at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:75)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at demo.RequestDumper.doFilter(RequestDumper.java:68)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(Base XMLFilter.java:141)
                  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter .java:281)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(ReplyHeaderFilter.java:96)
                  at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:235)
                  at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
                  at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:230)
                  at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:175)
                  at org.jboss.web.tomcat.security.SecurityAssociationV alve.invoke(SecurityAssociationValve.java:179)
                  at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:433)
                  at org.jboss.web.tomcat.security.JaccContextValve.inv oke(JaccContextValve.java:84)
                  at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
                  at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:104)
                  at org.jboss.web.tomcat.service.jca.CachedConnectionV alve.invoke(CachedConnectionValve.java:157)
                  at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
                  at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:241)
                  at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:844)
                  at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:580)
                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
                  at java.lang.Thread.run(Unknown Source)
                  Caused by: org.springframework.beans.factory.UnsatisfiedDepen dencyException: Error creating bean with name 'publish' defined in class path resource [com/XXXX/XXXX/publish/publish.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: Could not convert constructor argument value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: Failed to convert value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy73] to required type [com.XXXX.XXXX.backingbean.publish.PublishDAO]: no matching editors or conversion strategy found
                  at org.springframework.beans.factory.support.Construc torResolver.createArgumentArray(ConstructorResolve r.java:517)
                  at org.springframework.beans.factory.support.Construc torResolver.autowireConstructor(ConstructorResolve r.java:178)
                  at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.autowireConstructor(Abs tractAutowireCapableBeanFactory.java:957)
                  at org.springframework.beans.factory.support.Abstract AutowireC
                  11:21:06,628 ERROR [STDERR] apableBeanFactory.createBeanInstance(AbstractAutow ireCapableBeanFactory.java:869)
                  at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:514)
                  at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:485)
                  at java.security.AccessController.doPrivileged(Native Method)
                  at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:455)
                  at org.springframework.beans.factory.support.Abstract BeanFactory$2.getObject(AbstractBeanFactory.java:2 89)
                  at org.springframework.web.context.request.AbstractRe questAttributesScope.get(AbstractRequestAttributes Scope.java:43)
                  at org.springframework.web.context.request.SessionSco pe.get(SessionScope.java:90)
                  at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:285)
                  at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:170)
                  at org.springframework.context.support.AbstractApplic ationContext.getBean(AbstractApplicationContext.ja va:883)
                  at org.springframework.web.jsf.el.SpringBeanFacesELRe solver.getValue(SpringBeanFacesELResolver.java:94)
                  at javax.el.CompositeELResolver.getValue(CompositeELR esolver.java:53)
                  at com.sun.faces.el.FacesCompositeELResolver.getValue (FacesCompositeELResolver.java:64)
                  at org.apache.el.parser.AstIdentifier.getValue(AstIde ntifier.java:45)
                  at org.apache.el.parser.AstValue.getValue(AstValue.ja va:86)
                  at org.apache.el.ValueExpressionImpl.getValue(ValueEx pressionImpl.java:186)
                  at com.sun.facelets.el.TagValueExpression.getValue(Ta gValueExpression.java:71)
                  at com.sun.faces.application.ApplicationImpl.createCo mponent(ApplicationImpl.java:229)
                  ... 67 more

                  Comment


                  • #10
                    You PublishDAO doesn't seem to be implementing any interfaces.

                    Try:
                    <aop:aspectj-autoproxy proxy-target-class="true"/>

                    -Ramnivas

                    Comment


                    • #11
                      After I make the changing <aop:aspectj-autoproxy proxy-target-class="true"/>, I get the following Exception when deploying application because PublishDAO extends from HibernateDaoSupport which has no default constructor, any idea to fix it?


                      org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'publishDAOTransProxy' defined in ServletContext resource [/WEB-INF/equity-controller.xml]: Cannot resolve reference to bean 'publishDAO' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'publishDAO' defined in class path resource [com/XXXX/XXXX/publish/publish.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigExcepti on: Could not generate CGLIB subclass of class [class com.XXXX.XXXX.backingbean.publish.PublishDAO]: Common causes of this problem include using a final class or a non-visible class; nested exception is java.lang.IllegalArgumentException: Superclass has no null constructors but no arguments were given
                      at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveReference(BeanDefinitio nValueResolver.java:274)
                      at org.springframework.beans.factory.support.BeanDefi nitionValueResolver.resolveValueIfNecessary(BeanDe finitionValueResolver.java:104)
                      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1274)
                      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.populateBean(AbstractAu towireCapableBeanFactory.java:1042)
                      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:539)
                      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:485)
                      at java.security.AccessController.doPrivileged(Native Method)
                      at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:455)
                      at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 51)
                      at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:169)
                      at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:248)
                      at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:170)
                      at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:407)
                      at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:735)
                      at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:369)
                      at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:251)
                      at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:190)
                      at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 45)
                      at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3854)
                      at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4359)
                      at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:761)
                      at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:741)
                      at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:553)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.apache.tomcat.util.modeler.BaseModelMBean.invo ke(BaseModelMBean.java:297)
                      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:164)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.apache.catalina.core.StandardContext.init(Stan dardContext.java:5310)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.apache.tomcat.util.modeler.BaseModelMBean.invo ke(BaseModelMBean.java:297)
                      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDy namicInvoker.java:164)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.jboss.web.tomcat.service.TomcatDeployer.perfor mDeployInternal(TomcatDeployer.java:301)
                      at org.jboss.web.tomcat.service.TomcatDeployer.perfor mDeploy(TomcatDeployer.java:104)
                      at org.jboss.web.AbstractWebDeployer.start(AbstractWe bDeployer.java:375)
                      at org.jboss.web.WebModule.startModule(WebModule.java :83)
                      at org.jboss.web.WebModule.startService(WebModule.jav a:61)
                      at org.jboss.system.ServiceMBeanSupport.jbossInternal Start(ServiceMBeanSupport.java:289)
                      at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle(ServiceMBeanSupport.java:245)
                      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknow n Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.jboss.system.ServiceController$ServiceProxy.in voke(ServiceController.java:978)
                      at $Proxy0.start(Unknown Source)
                      at org.jboss.system.ServiceController.start(ServiceCo ntroller.java:417)
                      at sun.reflect.GeneratedMethodAccessor10.invoke(Unkno wn Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:86)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:210)
                      at $Proxy49.start(Unknown Source)
                      at org.jboss.web.AbstractWebContainer.start(AbstractW ebContainer.java:466)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
                      at org.jboss.mx.interceptor.AbstractInterceptor.invok e(AbstractInterceptor.java:133)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:88)
                      at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke(ModelMBeanOperationInterceptor.java:1 42)
                      at org.jboss.mx.interceptor.DynamicInterceptor.invoke (DynamicInterceptor.java:97)
                      at org.jboss.system.InterceptorServiceMBeanSupport.in vokeNext(InterceptorServiceMBeanSupport.java:238)
                      at org.jboss.ws.integration.jboss42.DeployerIntercept or.start(DeployerInterceptor.java:93)
                      at org.jboss.deployment.SubDeployerInterceptorSupport $XMBeanInterceptor.start(SubDeployerInterceptorSup port.java:188)
                      at org.jboss.deployment.SubDeployerInterceptor.invoke (SubDeployerInterceptor.java:95)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:210)
                      at $Proxy50.start(Unknown Source)
                      at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:1025)
                      at org.jboss.deployment.MainDeployer.start(MainDeploy er.java:1015)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:819)
                      at org.jboss.deployment.MainDeployer.deploy(MainDeplo yer.java:782)
                      at sun.reflect.GeneratedMethodAccessor22.invoke(Unkno wn Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
                      at java.lang.reflect.Method.invoke(Unknown Source)
                      at org.jboss.mx.interceptor.ReflectedDispatcher.invok e(ReflectedDispatcher.java:155)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation .java:94)
                      at org.jboss.mx.interceptor.AbstractInterceptor.invok e(AbstractInterceptor.java:133)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:88)
                      at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke(ModelMBeanOperationInterceptor.java:1 42)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.j ava:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(Ab stractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:659)
                      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyE xt.java:210)
                      at $Proxy10.deploy(Unknown Source)
                      at org.jboss.deployment.scanner.URLDeploymentScanner. deploy(URLDeploymentScanner.java:421)
                      at org.jboss.deployment.scanner.URLDeploymentScanner. scan(URLDeploymentScanner.java:634)
                      at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan(AbstractDeploymentScanne r.java:263)
                      at

                      Comment


                      • #12
                        hi, never mind, I fixed the problem, it is not relate to AOP. Thanks for your help

                        Comment


                        • #13
                          So what was the problem then? Are you going to share?

                          Comment

                          Working...
                          X