[jboss-dev-forums] [Design of JBoss jBPM] - Re: MessageService and JMS

mteira do-not-reply at jboss.com
Thu Sep 14 09:19:13 EDT 2006


anonymous wrote : first of all a remark. i understand your frustrations. we are finishing a big restructuring of the jbpm source code base. also the build scripts still have quite some rough edges. please bear with us. it's normal that you experience some problems in the new structure. let us know your problems. we are eager to get it right asap.
  | 
Thanks for the response. I was starting to think that all my trouble was my fault, and didn't want to disturb you anymore with my problems. I understand the problems on such a restructuring, and would like to help finding them.


anonymous wrote : about the /jbpm web-uri: i suppose that this change was necessary to get the designer working with the web console, right ? the default proposed deployment url is now /jbpm. jbpm-console.war fits better with our new naming scheme. also i like the /jbpm-console URI better then /jbpm. so we'll update the default that is presented in the deployment tab in the eclipse designer. would that resolve your second issue. 

In its original state, that application.xml failed to deploy inside my JBoss (4.0.4 GA). Don't remember the exact reason but complained about the war entry. That was the reason why I changed it specifying the web-uri. On a first attempt, I chose "jbpm-console" just to resemble the name of the webapp, but then, when I tried to deploy a process from Eclipse (using the gd from the designers-kit 3.1) it failed because it tried to use jbpm instead of jbpm-console. I didn't find a place to configure that parameter and so, I changed that web-uri to be /jbpm. I don't mind what web-uri to use, only that it should be changed in the two places (web-uri and designer process deployer).


I've updated my local copy of the repository and tried to build just using ant (I had some trouble running some of the CVS targets  and messed up my install ;-) ). I'm trying now to build the designer and it worked, running  ant at:

jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build

Then, I tried to install it into a fresh eclipse install. Just using the jbpm-gpd-site-3.0.11-SNAPSHOT.zip generated into the repository, telling the eclipse to update from a local archived site. The eclipse is version 3.2, installed running rule:

ant install.eclipse

into that same directory. Something bad happened, because after restarting, Eclipse is not able to open any project, and I can see into the error log:

java.lang.NullPointerException
  | 	at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source)
  | 	at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source)
  | 	at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:494)
  | 	at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4118)
  | 	at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267)
  | 	at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470)
  | 	at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169)
  | 	at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.determineIfOnClasspath(JavaModelManager.java:808)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:697)
  | 	at org.eclipse.jdt.internal.core.JavaModelManager.create(JavaModelManager.java:626)
  | 	at org.eclipse.jdt.core.JavaCore.create(JavaCore.java:1383)
  | 	at org.eclipse.jdt.internal.ui.ResourceAdapterFactory.getAdapter(ResourceAdapterFactory.java:44)
  | 	at org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:63)
  | 	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:256)
  | 	at org.eclipse.core.runtime.PlatformObject.getAdapter(PlatformObject.java:66)
  | 	at org.eclipse.jdt.internal.ui.filters.NamePatternFilter.select(NamePatternFilter.java:62)
  | 	at org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.isFiltered(ProblemTreeViewer.java:187)
  | 	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.isFiltered(PackageExplorerPart.java:301)
  | 	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.getFilteredChildren(PackageExplorerPart.java:281)
  | 	at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:534)
  | 	at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:719)
  | 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | 	at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:696)
  | 	at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:892)
  | 	at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1240)
  | 	at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1252)
  | 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:181)
  | 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
  | 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
  | 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
  | 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937)
  | 	at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:6254)
  | 	at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794)
  | 	at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166)
  | 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298)
  | 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
  | 	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
  | 	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1842)
  | 	at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1319)
  | 	at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5171)
  | 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3279)
  | 	at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4768)
  | 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
  | 	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
  | 	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1923)
  | 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
  | 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
  | 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
  | 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
  | 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  | 	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
  | 	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(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	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 org.eclipse.core.launcher.Main.main(Main.java:952)

One thing that I'm confused about is that it seems not to be a jbpm core included into the zip file, as I found into the local-site bundled with the starters-kit. This is what I have into my jbpm-gpd-site-3.0.11-SNAPSHOT.zip file:

C:\Documents and Settings\Administrador\jbpm\repository\jbpm\designer\jpdl\3.0.1
  | 1-SNAPSHOT>unzip -l jbpm-gpd-site-3.0.11-SNAPSHOT.zip
  | Archive:  jbpm-gpd-site-3.0.11-SNAPSHOT.zip
  |   Length     Date   Time    Name
  |  --------    ----   ----    ----
  |         0  14/09/06 14:55   features/
  |         0  14/09/06 14:55   plugins/
  |       399  14/09/06 14:26   .project
  |      8446  14/09/06 14:55   features/org.jbpm.gd.jpdl.feature.source_3.0.11.jar
  |      9088  14/09/06 14:55   features/org.jbpm.gd.jpdl.feature_3.0.11.jar
  |   1292277  14/09/06 14:55   plugins/org.apache.xerces_2.8.0.v200606131651.jar
  |    484641  14/09/06 14:26   plugins/org.eclipse.draw2d_3.2.0.v20060626.jar
  |     89698  14/09/06 14:26   plugins/org.eclipse.emf.common.ui_2.2.0.v20060627105
  | 7.jar
  |    154682  14/09/06 14:26   plugins/org.eclipse.emf.common_2.2.0.v200606271057.j
  | ar
  |    169972  14/09/06 14:26   plugins/org.eclipse.emf.ecore.xmi_2.2.0.v20060627105
  | 7.jar
  |    749588  14/09/06 14:26   plugins/org.eclipse.emf.ecore_2.2.0.v200606271057.ja
  | r
  |    125210  14/09/06 14:26   plugins/org.eclipse.emf.edit.ui_2.2.0.v200606271057.
  | jar
  |    225067  14/09/06 14:26   plugins/org.eclipse.emf.edit_2.2.0.v200606271057.jar
  | 
  |    748073  14/09/06 14:26   plugins/org.eclipse.gef_3.2.0.v20060626.jar
  |     91656  14/09/06 14:26   plugins/org.eclipse.jem.util_1.2.0.v20060530_RC2.jar
  | 
  |     35071  14/09/06 14:26   plugins/org.eclipse.wst.common.core_1.1.0.v200606130
  | 645.jar
  |    182926  14/09/06 14:26   plugins/org.eclipse.wst.common.emf_1.1.0.v2006061306
  | 45.jar
  |    122035  14/09/06 14:26   plugins/org.eclipse.wst.common.emfworkbench.integrat
  | ion_1.1.0.v200606130645.jar
  |     37662  14/09/06 14:26   plugins/org.eclipse.wst.common.environment_1.0.100.v
  | 200606130645.jar
  |    123058  14/09/06 14:26   plugins/org.eclipse.wst.common.frameworks.ui_1.1.0.v
  | 200606130645.jar
  |    106267  14/09/06 14:26   plugins/org.eclipse.wst.common.frameworks_1.1.0.v200
  | 606130645.jar
  |    162102  14/09/06 14:26   plugins/org.eclipse.wst.common.project.facet.core_1.
  | 1.0.v200606130645.jar
  |    102255  14/09/06 14:26   plugins/org.eclipse.wst.common.ui.properties_1.0.100
  | .v200606130645.jar
  |    119099  14/09/06 14:26   plugins/org.eclipse.wst.common.ui_1.1.0.v20060614212
  | 2.jar
  |     31779  14/09/06 14:26   plugins/org.eclipse.wst.common.uriresolver_1.1.0.v20
  | 0606130645.jar
  |    367107  14/09/06 14:26   plugins/org.eclipse.wst.sse.core_1.1.0.v200606141450
  | .jar
  |    670902  14/09/06 14:26   plugins/org.eclipse.wst.sse.ui_1.0.101.v200606191900
  | .jar
  |     96453  14/09/06 14:26   plugins/org.eclipse.wst.validation.ui_1.1.0.v2006061
  | 30645.jar
  |    184914  14/09/06 14:26   plugins/org.eclipse.wst.validation_1.1.0.v2006061306
  | 45.jar
  |    603544  14/09/06 14:26   plugins/org.eclipse.wst.xml.core_1.1.0.v200606142000
  | .jar
  |    646889  14/09/06 14:26   plugins/org.eclipse.wst.xml.ui_1.0.100.v200606141450
  | .jar
  |     61015  14/09/06 14:26   plugins/org.eclipse.wst.xsd.core_1.1.0.v200606130645
  | .jar
  |    918340  14/09/06 14:26   plugins/org.eclipse.wst.xsd.ui_1.1.0.v200606142122.j
  | ar
  |    197009  14/09/06 14:26   plugins/org.eclipse.xsd.edit_2.2.0.v200606271057.jar
  | 
  |    697947  14/09/06 14:26   plugins/org.eclipse.xsd_2.2.0.v200606271057.jar
  |       636  14/09/06 14:55   plugins/org.jbpm.gd.jpdl.help_3.0.11.jar
  |    754909  14/09/06 14:55   plugins/org.jbpm.gd.jpdl.ui_3.0.11.jar
  |      1960  14/09/06 14:26   readme.html
  |       282  14/09/06 14:26   site.xml
  |  --------                   -------
  |  10372958                   39 files


Do I need to manually install something on eclipse before installing the designer?

Regards and thanks for anwering. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971547#3971547

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971547



More information about the jboss-dev-forums mailing list