[JBoss AOP] - Re: Bug in SuperClassesFirstWeavingStrategy?
by stalep
hm, its quite possible that we have several concurrent issues with the generated advisors instrumentation that uses SuperClassesFirstWeavingStrategy.
you can easily tell jboss aop to use a different instrumentor (its only from jboss aop 2.0 that generated advisors are default instrumentor).
add this property to either aopc or as a systemproperty when you run the program:
| jboss.aop.instrumentor = org.jboss.aop.instrument.ClassicInstrumentor
|
then you will get the "old" instrumentor, please let us know if you still have the problem with this instrumentor.
to get more verbose output (and which instrumenter thats used) set this property to true: "jboss.aop.verbose"
- and yes, jboss aop will load all classes into its instrumentor to check if the class match any of the pointcuts/aspects/etc. if it doesnt match anything it doesnt do anything, but it will check all classes.
thanks for the info and good work btw, these kinds of bugs isnt very easy to reproduce in a test so real world apps and feedback are very appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990947#3990947
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990947
18 years, 1 month
[JBossWS] - problems in deploying jbossws-1.0.4 with jboss-4.0.5.GA
by MmarcoM
HI ALL,
i have just installed jboss-4.0.5.GA (was coming wth jbossws-1.0.3)...
deployed my app (J2EE-1.4 WS), everything is fine
i have then upgraded to jbossws-1.0.4 (replacing proper files)..and when i restart the server i got following exception
| 2006-12-04 11:09:50,359 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/Sw/jboss-4.0.5.GA/server/default/tmp/deploy/tmp16811ngenMiddlewareEAR-1.0-SNAPSHOT.ear-contents/ngenMiddleware-1.0-SNAPSHOT.jar
| java.lang.NullPointerException
| at org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
| at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy27.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy6.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.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thr
|
i have seen some threads about that in the forum, if i remember one of replies was that jbossws was compatible with ejb3-rc9..
but jboss 4.0.5.GA has within rc9 of ejbs... can anyone help me out in finding out what's theproblem?
thanks in advance and regards
Marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990944#3990944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990944
18 years, 1 month
[JBoss Portal] - IPC using AJAX
by sirishy
I'm using Jboss Portal 2.4 bundled version.
Currently I've implemented IPC scenario without Ajax as follows:
I made the image as a link and onclick of the image in portlet A, I'm sending the imageName as hidden parameter using javascript to the portletA.java.
In this java file, in processAction() method, I'm getting the imageName and setting it in the portlet session (APPLICATION_SCOPE).
In portletB.java, in doView() method I'm getting the imageName from the APPLICATION_SCOPE. Depending on this value (i.e., if imageName != null)I'm displaying a HTML page in portlet B.
I have both the portlets in the same war file.
portlet A and portlet B are visible on the page for the first time.
It reloads the entire page onclick of the image in portlet A, thus influencing the portlet B.
I want the scenario to be as follows:
Only portlet A should be visible for the first time.
Onclick of the image in portlet A, on the fly portlet B should come up without reloading the entire page.
thanks,
sirishy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990943#3990943
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990943
18 years, 1 month