Skip to main content

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

Hi Pierre,

hmm, the German messages at the bottom say that the framework has problems
in initializing all the libraries (no adapter for JWT, no GuardHandler,
etc.). Therefore I think that either a library is still missing in your
workspace or is not referenced in the preferences. Do your settings
(preferences) look similar to the attached image?
Then, these exceptions should at least not occur anymore. 

However, with Eclipse Ganymede I also now only get the "null" in the
resulting file. I'm not sure whether this is because of changes in JWT or
between Europa and Ganymede. We will have a closer look on that and come
back to you asap.

Best regards,

Florian

-----Ursprüngliche Nachricht-----
Von: jwt-dev-bounces@xxxxxxxxxxx [mailto:jwt-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Pierre Vigneras
Gesendet: 29 July 2008 17:49
An: jwt-dev@xxxxxxxxxxx
Betreff: 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=2065
10.

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.JarClassLoade
r.<init>(JarClassLoader.java:9)
        at
de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.cr
eateComponents(CustomizeFactory.java:158)
        at
de.uniAugsburg.codeGenFramework.workflow.abstractFactory.WFGenerationFramewo
rk.createConcreteFactory(WFGenerationFramework.java:182)
        at
de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework
(WorkflowManager.java:106)
        at
de.uniAugsburg.codeGenFramework.actions.CodeGenerationAction.run(CodeGenerat
ionAction.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(Action
ContributionItem.java:583)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionI
tem.java:500)
        at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContribu
tionItem.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(EclipseAp
pLauncher.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.MultiClassLoa
der.loadClass(MultiClassLoader.java:85)
        at
de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.in
itializeGuardHandler(CustomizeFactory.java:200)
        at
de.uniAugsburg.codeGenFramework.workflow.abstractFactory.CustomizeFactory.cr
eateComponents(CustomizeFactory.java:160)
        at
de.uniAugsburg.codeGenFramework.workflow.abstractFactory.WFGenerationFramewo
rk.createConcreteFactory(WFGenerationFramework.java:182)
        at
de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework
(WorkflowManager.java:106)
        at
de.uniAugsburg.codeGenFramework.actions.CodeGenerationAction.run(CodeGenerat
ionAction.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(Action
ContributionItem.java:583)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionI
tem.java:500)
        at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContribu
tionItem.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(EclipseAp
pLauncher.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
_______________________________________________
jwt-dev mailing list
jwt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jwt-dev

Attachment: codegen_settings.bmp
Description: Windows bitmap


Back to the top