Skip to main content

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

Le Friday 01 August 2008 17:39:28 Florian Lautenbacher, vous avez écrit :
> 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...
> 

Well, I am sorry to say that I am still not able to produce any BPEL code from 
the given standard.palette BPEL file.

What I did is:

1. copy the given jar files into the eclipse ganymede plugin directory;
2. remove the runtime Eclipse directory
3. run the JWT-WE plugin as an Eclipse Application
4. create a new Project
5. import the standard palette BPEL file you provided
6. open that file
7. go to preference->code generation, enter the agilpro2bpel_impl_jwt.jar as the reference
8. Click on Use Default Configuration
9. Provide a configuration name JWT2BPEL as suggested
10. Perform the Code Generation
11. Enter a file name (std.bpel)

The generated file still contains 'null'.

The console in the original Eclipse contains:


2008-08-04 16:48:01.387 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample1
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample1
2008-08-04 16:48:01.408 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample2
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample2
2008-08-04 16:48:01.410 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample3
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample3
2008-08-04 16:48:01.412 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample4
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Sample4
2008-08-04 16:48:01.435 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Export
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Export
2008-08-04 16:48:01.439 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Import
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Import
2008-08-04 16:48:01.454 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Generate HTML Documentation
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: Generate HTML Documentation
2008-08-04 16:48:01.464 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
  INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: StartGeneration
4 août 2008 16:48:01 org.eclipse.jwt.we.editors.actions.external.WEExternalActionsManager readActions
INFO: JWT Extension - found PLUGIN at org.eclipse.jwt.we.menu: StartGeneration
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:180)
	at de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework(WorkflowManager.java:108)
	at de.uniAugsburg.codeGenFramework.actions.JWTCodeGenerationAction.run(JWTCodeGenerationAction.java:72)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	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$5.handleEvent(ActionContributionItem.java:411)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
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:180)
	at de.uniAugsburg.codeGenFramework.workflow.WorkflowManager.initializeFramework(WorkflowManager.java:108)
	at de.uniAugsburg.codeGenFramework.actions.JWTCodeGenerationAction.run(JWTCodeGenerationAction.java:72)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	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$5.handleEvent(ActionContributionItem.java:411)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Error during Frameworkinitialization
Kein GuardHandler vorhanden
Adapter für das Modellierungstool konnte nicht gefunden werden
Adapter für das Modellierungstool konnte nicht gefunden werden


By the way, the language I learnt at school is spanish! Hence, those german messages are of no use to me! ;-) ;-)

Regards.
-- 
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