[JBoss AOP] - JBOSS AOP on Websphere 6.1
by marimuthub
I have developed simple web application using JBOSS AOP. The web application contains servlet,jsp,POJO java and Interceptor files. I have compiled using javac command ( basically I have used jboss aop jdk50 related jar files). The compilation is successful
The web application is working fine with tomcat. I have done following changes in tomcat startup
1. Include the jboss aop related jar files(jboss-aop-jdk50.jar,jboss-aspect-library-jdk50.jar ..etc...)
2. Include following javaoption
-javaagent:D:\jboss-aop_1.5.5.GA\lib-50\jboss-aop-jdk50.jar
I have done the same changes in websphere and i have deployed the application. the websphere is giving following exception
javassist.NotFoundException: java.lang.Exception
at javassist.ClassPool.get(ClassPool.java:417)
at javassist.bytecode.Descriptor.toCtClass(Descriptor.java:549)
at javassist.bytecode.Descriptor.getParameterTypes(Descriptor.java:396)
at javassist.CtBehavior.getParameterTypes(CtBehavior.java:243)
at org.jboss.aop.util.CtConstructorComparator.compare(CtConstructorComparator.java:44)
at org.jboss.aop.util.CtConstructorComparator.compare(CtConstructorComparator.java:65)
at java.util.Arrays.mergeSort(Arrays.java:1299)
at java.util.Arrays.sort(Arrays.java:1238)
at java.util.Collections.sort(Collections.java:174)
at org.jboss.aop.instrument.Instrumentor.getConstructors(Instrumentor.java:795)
at org.jboss.aop.instrument.ConstructorExecutionTransformer.transform(ConstructorExecutionTransformer.java:140)
at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:705)
at org.jboss.aop.AspectManager.translate(AspectManager.java:909)
at org.jboss.aop.AspectManager.transform(AspectManager.java:821)
at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
at sun.instrument.TransformerManager.transform(TransformerManager.java:141)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:174)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:223)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:563)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:127)
at com.ibm.websphere.management.configservice.ConfigServiceFactory.createConfigService(ConfigServiceFactory.java:64)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:611)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:1338)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:1171)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:347)
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:178)
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:140)
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:461)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:321)
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:89)
Please help me out.
Regards
Marimuthu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034603#4034603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034603
19 years
[JBoss jBPM] - Re: Designer alpha version - eclipse updates required?
by wjm
"koen.aers(a)jboss.com" wrote : To work on the head of the designer you should checkout the org.jbpm.gd.jpdl project in the module jbpm.3/designer/jpdl. The build script of jpdl 3.2 fetches the already built designer (3.0.13.1)from the repository.
|
| Regards,
| Koen
Thanks alot for taking the time to try to bring us up to speed Koen, but I'm afraid I'm still not on the same page. I do have a full checkout of jbpm.3, including jbpm.3/designer/jpdl/org.jbpm.gd.jpdl. This includes your changes from yesterday on HEAD to ControllerConfigurationComposite.java (and friends).
This is the correct and only branch, or?
The problems are that, when I startup up a clean 3.2 including the alpha3 plugin and feature, and along with all of the default GEF/EMF plugins included in jbpm-jpdl-designer.zip (which includes alpha3), I get errors in the eclipse log for null pointers in
|
| !ENTRY org.eclipse.ui.workbench 4 0 2007-03-26 23:38:30.108
| !MESSAGE An unexpected exception was thrown.
| !STACK 0
| java.lang.NullPointerException
| at org.eclipse.ui.internal.views.properties.tabbed.view.TabDescriptor.<init>(TabDescriptor.java:87)
| at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.readTabDescriptors(TabbedPropertyRegistry.java:316)
| at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.getAllTabDescriptors(TabbedPropertyRegistry.java:294)
| at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.getTabDescriptors(TabbedPropertyRegistry.java:242)
| at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:673)
| at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:542)
| at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:218)
| at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
| at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62)
| at org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:108)
| at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
| at org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:106)
| at org.eclipse.ui.part.MultiPageSelectionProvider.fireSelectionChanged(MultiPageSelectionProvider.java:88)
| at org.eclipse.ui.part.MultiPageEditorPart.pageChange(MultiPageEditorPart.java:610)
| at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.pageChange(XMLMultiPageEditorPart.java:748)
| at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.pageChange(Unknown Source
|
these started after your big change on 3.20. Additionally, I'm seeing other errors like the following:
| !ENTRY org.eclipse.ui 4 0 2007-03-27 13:38:28.828
| !MESSAGE Unable to create editor ID org.jbpm.gd.jpdl.ui.editor: No editor descriptor for id org.jbpm.gd.jpdl.ui.editor
| !STACK 1
| org.eclipse.ui.PartInitException: No editor descriptor for id org.jbpm.gd.jpdl.ui.editor
!ENTRY org.eclipse.ui.workbench 4 2 2007-03-27 13:38:29.015
| !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
| !STACK 0
|
These were what led me to believe that you're working with a different version of eclipse, or perhaps just GEF/EMF. Additionally, even after the plugin starts, I open the editor on a given processdescription.xml to find that all of the icons are missing and the editor wont allow me even to bring up a properties page for node/state/whatever.
Anyhow, maybe I oughta just wait 'til your rewrite goes beta. But thanks for any insight you care to share.
----
Bill
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034590#4034590
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034590
19 years