Skip to main content

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

Hi Pierre,

okay, after several tests I found some points that might be the reason for
your problems:
-First of all, we compiled the libraries again; one of the library wasn't
compatible with Eclipse Ganymede, so it showed some exceptions
-Second, please include the JWTCodeGeneration-JAR-file that is attached to
this email into your Eclipse plugin directory and reference from the
preference page to the location of the agilpro2bpel_impl_jwt.jar (the old
one should work as well, but nevertheless please find the newly compiled
file in the attachment as well)
-Third, I made the experience that when you forget to give your
configuration a name (something like JWT2BPEL), it won't work and always
shows the German text ("Adapter für das Modellierungstool nicht gefunden")
on the console, which doesn't 100% make sense in this case... (we will
change that for the next release)
-Forth, please clean your (runtime-)workspace before testing the new
library; somehow Eclipse stores some information about the plugin you had
installed before and then it doesn't work...

With these considerations the BPEL-generation should hopefully work on your
PC as well. At least it does on three PCs in our group...

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: JWTCodeGeneration_1.0.0.jar
Description: Binary data

Attachment: agilpro2bpel_impl_jwt.jar
Description: Binary data


Back to the top