[JBoss Eclipse IDE (users)] - Configurating a JBoss server in Eclipse 3.2
by msalva
Hi!
I have installed JBossIDE-2.0.0.ALPHA-Bundle-win32 that includes Eclipse 3.2 and jboss ide 2.0.0.
When I try to configure a new server from Servers view it doesn't work. In the Error Log I have this message:
"java.lang.NoClassDefFoundError: org.jboss.ide.eclipse.as.core.server.runtime.JBossServerRuntime
at org.jboss.ide.eclipse.as.ui.wizards.AbstractJBossWizardFragment.enter(AbstractJBossWizardFragment.java:492)
at org.eclipse.wst.server.ui.internal.wizard.TaskWizard.switchWizardFragment(TaskWizard.java:295)
at org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.setVisible(TaskWizardPage.java:93)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1056)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1038)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1028)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1026)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:757)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
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.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
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.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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)"
I tried to do the same with the Beta version of JBoss IDE but I had the same problem.
Could you help me to solve this problem?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968037#3968037
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968037
19 years, 8 months
[JBoss jBPM] - Using JbpmContext.save(processInstance), the TaskInstall don
by liuyan520
Hi All,
These days i came accross a strange problem.
First i create a process instance and return back the start task instance id.
The code is shown in blow.
Long lo = (Long)jbpmTemplate.execute(new JbpmCallback() {
public Object doInJbpm(JbpmContext context) {
ProcessInstance processInstance = context
.newProcessInstance(processName);
TaskInstance taskInstance = processInstance.getTaskMgmtInstance()
.createStartTaskInstance();
context.save(processInstance);
return taskInstance.getId();
}
});
return lo.longValue();
After creating the process instance, i can't access the corresponding Token and TaskMgmtInstance from the TaskInstance which load by using the taskinstanceId return back from the above code.
After checking the database, the relationship between the taskinstance and Token isn't persisted.
My quesion is why after using JbpmContext.save(ProcessInstance),the relationship is lost.
My environment is show below:
1:Using spring module integrate the spring and jbpm.
2:Using OpenSessionInView filter to keep one session per request.
Thanks in advance.
Best Wishes
Lucas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968034#3968034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968034
19 years, 8 months
[JBoss jBPM] - Can't create jbpm-bpel.sar for setting up the BPEL Extension
by rainstar79
Hi guys,
I am trying to set up the BPEL extension for the jBPM, but I have a few problems.
I downloaded the documention for the BPEL and went through the Chapter 3 - Getting started. I better tell you what I've done and were I got stuck:
1.) Download and install Apache Ant 1.6.5
2.) Download and install jBoss AS 4.0.4.GA
3.) Download and install jBPM 3.1.2
4.) Download jBPM-BPEL 1.1-Beta
--------------------------------------------
5.) Hibernate settings (is this necessary for my initial try)
6.) jBPM settings (don't know what i should configure there?)
--------------------------------------------
7.) Packaging
a) modify build.properties with the jBoss AS information
b) build.xml is allready in the root directory
c) console: ant service.build.404
--> AND HERE IS MY PROBLEM:
There should be a file generated called jbpm-bpel.sar - BUT it isn't!!!!!!
In the folder build is only the following data:
folder: bpel.classes
folder: webapp.classes
jbpm-bpel-1.1-beta1
jbpm-bpel.war
-----> No .sar file
What am I doing wrong?
Did I forget some settings?
Thanks for your help!
Rainer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968030#3968030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968030
19 years, 8 months