-
15. Re: New jBPM Getting Started Documentation
kbarfield Apr 7, 2006 9:43 AM (in response to admin)"lowkoen" wrote:
Hi all,
I am trying the jBPM using the jBPM Getting Started Documentation.
I copied the sample web application folder from \jbpm-starters-kit-3.1\jbpm\src\resources\jbpm.war to TOMCAT_HOME\webapps\ROOT. However, I got the following error:
HTTP Status 404 - /jbpm/faces/login.jsp
Can anyone help? Thanks.
The starters kit comes with a JBoss instance that is already setup to use jBPM. There should be no need to move WARs to Tomcat. Are you wanting to do the getting started guide just using Tomcat with jBPM? If so, you will need to setup the jBPM jars in Tomcat first. Here is a link with more information about the JARs needed for jBPM:
http://docs.jboss.com/jbpm/v3/userguide/deployment.html -
16. Re: New jBPM Getting Started Documentation
kukeltje Apr 7, 2006 8:43 PM (in response to admin)besides that, it should be copied to TOMCAT_HOME\webapps to have the /jbpm part in the url. If you expanded deploy it in TOMCAT_HOME\webapps\ROOT the /jbpm part should be removed.
Please learn how to use an appserver before posting (sorry if I sound grumpy, it has been a busy week)
Sleep tight all -
17. Re: New jBPM Getting Started Documentation
lowkoen Apr 9, 2006 9:33 PM (in response to admin)Thanks kbarfield.
I can now access to the Getting Started login page. -
18. Re: New jBPM Getting Started Documentation
kbarfield Apr 19, 2006 4:01 PM (in response to admin)I have added a FAQ section to the getting started wiki with some of the questions I have seen on the forums. As always, feedback/contributions are welcome!
Kevin -
19. Re: New jBPM Getting Started Documentation
mindthegap May 5, 2006 10:08 AM (in response to admin)Thanks for the documentation!
Im newer in this technology, anybody know some book to buy about jBPM?
Thanks for advance -
20. Re: New jBPM Getting Started Documentation
kukeltje May 5, 2006 11:39 AM (in response to admin)Unfortunately there is none (yet)
Ronald -
21. Re: New jBPM Getting Started Documentation
flawlor May 9, 2006 1:46 PM (in response to admin)Great job. Well written and accurate.
I have some problems, however.
I followed the directions to use the designer to add the StartersProcess and this worked fine, but I noticed that the src/java and test/java directories have error icons on them.
When I look at some of the files it appears that lots of the class references are not being resolved. For example, in src/java com.sample.action.MessageActionHandler on the import it says it cannot fine org.jbpm. In test/java the imports cannot find junit.
The properties for jBPMStarterProcess show jBPM Library in the classpath and this has junit-3.8.1.jar so why such errors?
Thanks,
-- Frank -
22. Re: New jBPM Getting Started Documentation
sameer_ja1 May 23, 2006 11:19 AM (in response to admin)Hi,
I am new to jBPM.
Can somebody pls. provide me sample code for using jboss jbpm without using front end application. That means i am looking for executing the the demo given here from a standalone java code without any user inetrface.
Thanks in advance -
23. Re: New jBPM Getting Started Documentation
hosierdm May 23, 2006 11:25 AM (in response to admin)Look at all the test cases that come in the source with the distribution. That will tell you all you need to know. You can also look at the front-end code to see how you might write your own front-end as well.
-
24. Re: New jBPM Getting Started Documentation
sameer_ja1 May 24, 2006 5:03 AM (in response to admin)Thanks for the response.
I need to start the process and set some varibles in it from some other non-front-end java program.
It will be great help if you can give referance of some sample code for doing so .
One more thing, is it possible to administer and moniter such a process from console. Of yes . Please tell me how to do it.
Thanks in advance. -
25. Re: New jBPM Getting Started Documentation
kbarfield May 24, 2006 9:18 AM (in response to admin)The sample web app that comes with jBPM provides examples of how to do everything you are describing, and the source code for this is available. Please take a look at this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83366
As far as monitoring and administration go, there is a basic monitoring/administration page in the sample web app as well. Please take a look at the getting started wiki for this functionality.
Kevin -
26. Problem with the Eclipse Plugin
javajosh May 30, 2006 6:46 PM (in response to admin)This guide and the jbpm-designer instructions assume that I will be installing Eclipse along with designer. In my case (and I imagine in the vast majority of cases) this is not true. Instructions on installing jbpm-designer into a pre-existing Eclipse installation is needed.
The file \jbpm-starters-kit-3.1.1\jbpm-designer\jbpm-gpd-feature\readme.html implies that all that is needed is to unzip \plugins and \features into one's eclipse directory. This is not the case. After doing so, I receieved this NPE when attempting to read a process definition with the special plugin (note that the "New JBPM Project" feature works fine):
java.lang.NullPointerException
at org.jbpm.ui.editor.DesignerContentProvider.addProcessDiagramDimension(Unknown Source)
at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source)
at org.jbpm.ui.editor.DesignerGraphicalEditorPage.initInput(Unknown Source)
at org.jbpm.ui.editor.DesignerGraphicalEditorPage.init(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152)
at org.jbpm.ui.editor.DesignerEditor.addGraphPage(Unknown Source)
at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
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:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948) -
27. Re: New jBPM Getting Started Documentation
javajosh May 30, 2006 6:48 PM (in response to admin)Additionally, the "create your own process" instructions are not consistent with the current release. To wit, there is no 'src/process' folder anymore. There is now a top-level 'processes/' directory, a sibling to src/.
The simple example exists at /processes/simple/processdefinition.xml.
It would be cool if your guide was a Wiki so I could make this change myself. -
28. Re: New jBPM Getting Started Documentation
javajosh May 30, 2006 6:56 PM (in response to admin)Bit of a brainfart there, it is already a Wiki. It is kind of hard to work with, however, and would probably benefit to being split up into smaller pieces. Would anyone mind if I did that?
-
29. Re: New jBPM Getting Started Documentation
kukeltje May 31, 2006 12:10 AM (in response to admin)you can always download the gpd separately and install it. Works perfectly for me