I installed BPEL Designer plug-in jars in my eclipse plug-in folder. I
could create a BPEL project in eclipse. Is there any other thing I need to
configure in addition to plug-ins to be able to create BPEL Projects.
Originally posted by: michael.gebhart.googlemail.com
Hi Sanjay,
you could create a BPEL project or you could not?
Try to use Ganymede and Eclipse JEE version.
Greetings
Michael
> Hi,
>
> I installed BPEL Designer plug-in jars in my eclipse plug-in folder. I
> could create a BPEL project in eclipse. Is there any other thing I need
> to configure in addition to plug-ins to be able to create BPEL Projects.
>
> Thanks,
>
> Sanjay
>
I downloaded your BPEL jars and installed to my eclipse-jee-ganymede
version 3.4.2 (it is a fresh installation, in order to test the BPEL
designer).
I encountered this error when i opened a bpel file:
'Reading XPath Function Registry ...' has encountered a problem.
java.io.FileNotFoundException: /functions/functions.xml
And when I try to edit the Xpath expression in the Assign (in my bpel
diagram) properties, i encountered this error:
An error has occurred. See error log for more details. An error has
occurred when activating this view. An error has occurred when activating
this view
java.io.FileNotFoundException: /functions/functions.xml
I extracted the following error message from the eclipse error log:
!ENTRY org.eclipse.bpel.ui 4 0 2009-03-23 22:20:11.057
!MESSAGE java.io.FileNotFoundException: /functions/functions.xml
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELReso urceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activ ator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLangua ge(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functi ons.java:52)
at org.eclipse.bpel.ui.BPELUIPlugin$2.run(BPELUIPlugin.java:302 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Han dler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandl er.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInpu tStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInp utStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 7 more
!ENTRY org.eclipse.bpel.ui 4 0 2009-03-23 22:20:11.791
!MESSAGE java.io.FileNotFoundException: /functions/functions.xml
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELReso urceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activ ator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLangua ge(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functi ons.java:52)
at org.eclipse.bpel.ui.BPELUIPlugin$2.run(BPELUIPlugin.java:302 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Han dler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandl er.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInpu tStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInp utStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 7 more
!ENTRY org.eclipse.ui.workbench 4 2 2009-03-23 22:20:50.338
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELReso urceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activ ator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLangua ge(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functi ons.java:52)
at
org.eclipse.bpel.ui.expressions.XPathExpressionEditor.addExt raStoreCommands(XPathExpressionEditor.java:649)
at
org.eclipse.bpel.ui.properties.ExpressionAssignCategory.newS toreToModelCommand(ExpressionAssignCategory.java:179)
at
org.eclipse.bpel.ui.properties.TextSection$2.createApplyComm and(TextSection.java:98)
at
org.eclipse.bpel.common.ui.command.EditModelCommandFramework .finishCurrentChange(EditModelCommandFramework.java:175)
at
org.eclipse.bpel.common.ui.command.EditModelCommandFramework .applyCurrentChange(EditModelCommandFramework.java:103)
at
org.eclipse.bpel.ui.properties.ExpressionSection$4.focusOut( ExpressionSection.java:692)
at
org.eclipse.bpel.ui.expressions.AbstractExpressionEditor.not ifyFocusOut(AbstractExpressionEditor.java:84)
at
org.eclipse.bpel.ui.expressions.XPathExpressionEditor$2.focu sLost(XPathExpressionEditor.java:232)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java: 2429)
at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1765)
at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:41 30)
at org.eclipse.swt.widgets.Canvas.WM_KILLFOCUS(Canvas.java:429)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3820 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:974)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:2811)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:92 7)
at
org.eclipse.bpel.common.ui.tray.GraphicalEditorWithPaletteAn dTray.setFocus(GraphicalEditorWithPaletteAndTray.java:118)
at
org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEd itorPart.java:1016)
at
org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEd itorPart.java:998)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java: 127)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.ja va:622)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at
org.eclipse.ui.internal.WorkbenchPage.activatePart(Workbench Page.java:617)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3487)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:3034)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:272)
at
org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:98)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:2 36)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:13 53)
at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:21 95)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3830 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541 )
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3417)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Han dler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandl er.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect (PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInpu tStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInp utStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 133 more
Actually, before I download and install your BPEL jars, i have tried with
the CVS version (downloaded on 17 March 2009) of the BPEL Designer.
Everything was fine if I run the designer using the Run Configuration. But
when i exported all plugins as jar files and installed as the Eclipse
plugins, the above errors were encountered. Exactly the same errors
observed when using your BPEL jars.
Any clues of the problems? When i searched through the source directory of
the plugins, i only found a functions.xml file under the folder
org.eclipse.bpel.examples.extensionPoints\functions
I resolved the problems (the java.io.FileNotFoundException:
/functions/functions.xml) by deleting the jar
org.eclipse.bpel.examples.extensionPoints_0.3.0
Just wonder whether this will omit any functionalities of the BPEL
Designer?