Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [jwt-dev] Problems in using the wf-codegen framework

Le Monday 14 July 2008 11:53:01 Florian Lautenbacher, vous avez écrit :
> Hi Miguel,

Hi, I am back from vacations, and Miguel is too ! ;-)

> Please find attached an example process (StandardPalette.workflow, one of the
> German example processes) as well as the generated BPEL code
> (Standardpalette.bpel).
> 
> As you can see, the BPEL code contains several AgilPro-specific parts which
> are adapted to the AgilPro integration framework. But, as already mentioned,
> the templates can be changed easily to fit also for other process engines.
> 
> The block-based image in the paper that you've attached was created with the
> Oracle BPEL viewer and is not part of the wf-codegen plugin I'm afraid.

I installed on Eclipse 3.4 Ganymede the JWT plugin and the wf-codgen plugin. I followed instructions
of PDF User Manual  http://sourceforge.net/project/shownotes.php?release_id=545800&group_id=206510.

Everything works fine when I import your example. But when I try to generate the code to 
BPEL using the implementation:


de.uniAugsburg.wf-codegen.JWT2BPELforAgilProIntegrationFramework_1.0.1.jar

the resulting file contains 'null' and on the console, the exception I get is:


java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
        at java.util.zip.ZipFile.<init>(ZipFile.java:131)
        at de.uniAugsburg.codeGenFramework.workflow.implementationLoading.JarResources.init(JarResources.java:55)
        at de.uniAugsburg.codeGenFramework.workflow.implementationLoading.JarResources.<init>(JarResources.java:37)
        at de.uniAugsburg.codeGenFramework.workflow.implementationLoading.JarClassLoader.<init>(JarClassLoader.java:9)
        at de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.createComponents(CustomizeFactory.java:158)
        at de.uniAugsburg.codeGenFramework.workflow.abstractFactory.WFGenerationFramework.createConcreteFactory(WFGenerationFramework.java:182)
        at de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework(WorkflowManager.java:106)
        at de.uniAugsburg.codeGenFramework.actions.CodeGenerationAction.run(CodeGenerationAction.java:72)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
java.lang.ClassNotFoundException
        at de.uniAugsburg.codeGenFramework.workflow.implementationLoading.MultiClassLoader.loadClass(MultiClassLoader.java:85)
        at de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.initializeGuardHandler(CustomizeFactory.java:200)
        at de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.createComponents(CustomizeFactory.java:160)
        at de.uniAugsburg.codeGenFramework.workflow.abstractFactory.WFGenerationFramework.createConcreteFactory(WFGenerationFramework.java:182)
        at de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework(WorkflowManager.java:106)
        at de.uniAugsburg.codeGenFramework.actions.CodeGenerationAction.run(CodeGenerationAction.java:72)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Error during Frameworkinitialization
Kein GuardHandler vorhanden
Adapter für das Modellierungstool konnte nicht gefunden werden

Note that this happens with any workflow I try to generate code from.

Can you help us in finding out the problem?


Regards.
[snip]


-- 
Pierre Vignéras
Bull, Architect of an Open World TM
*BPM Team*, Bull R&D
1, rue de Provence
38130 Echirolles (France)
Direct Line: +33-4-76-29-74-06

*Orchestra*, The BPEL open source project: http://orchestra.objectweb.org
*Bonita*, The XPDL open source project: http://bonita.objectweb.org


Back to the top