Default Problem adding task to business process

I have a working process in webmethods 8.0. It has two simple activity steps that work.

Note: If I create stand alone task applications I can deploy them and run them on my webmethods.

I try to add a third activity step with no implementation and it works. When I change the type to TASK and then change the implementation to new task and try to build, I get the following error:

Build of process “demoprocess” started at 01/06/11 2:09 PM
Checking database for prior build and upload of process: “demoprocess” version: “1”
Retrieving previous build information for process: “demoprocess” version: “1”
Testing connection for Integration Server “servername”
Process “demoprocess” has been previously built. Any changes to the flows in this version will be reflected below.
Updating input signature for mapping service for step

Error: Build of process “demoprocess” failed. The log file might have more information.
com.softwareag.metadata.query.api.QueryException: [META.LUCENE.1001] Query failed. [{}hasURI=urn:///tasktype/1BF198B8-3E3A-12BD-BB46-8F3FE1C438C1 (AND)
] See log for details.
at com.softwareag.metadata.query.lucene.LuceneQueryExecutor.executeQuery(
at com.softwareag.metadata.query.lucene.LuceneQuery.getAsset(
at com.softwareag.metadata.query.lucene.LuceneQuery.getAsset(
at com.softwareag.metadata.query.lucene.LuceneQuery.getAsset(
at com.softwareag.metadata.eclipse.query.api.MetadataQuery.getAsset(
at com.webmethods.process.generator.FlowServiceGenerator.validateTask(
at com.webmethods.process.generator.FlowServiceGenerator.generateFlowServices(
at com.webmethods.process.generator.ProcessModelGenerator.generateModel(
at com.webmethods.process.generator.ProcessModelGenerator.generateModel(
at org.eclipse.ui.internal.PluginAction.runWithEvent(
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(
at org.eclipse.jface.action.ActionContributionItem.access$2(
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

Did some tracking down through the logs and it appears the problem was related to the permgen size not being big enough in the environment variables for myweb methods and integration server. You can increase the PERMGEN size in the env variables script for integration server.

Complete the Integration Server Installation

Increase PermGen Space on UNIX and Mac Systems

If you are using a Sun JDK with Integration Server, you must increase the permanent

generation (PermGen) space from the default of 64MB to at least 128MB. By default, the

webMethods Installer installs a Sun JDK for Integration Server 8.0 on Linux and Solaris

systems. If you are using the default JDK on those systems, or if you are using your own

Sun JDK on one of those systems, another UNIX system, or an Mac system, complete the

steps below.

1 Go to the Integration Server_directory/bin directory and open the file in a text


2 Uncomment these lines by removing the pound sign (#):



3 Save and close the file.

Hi Richard,

I’m having the exact same problem:

[i]Error: Build of process “xxxx” failed. The log file might have more information.
com.softwareag.metadata.query.api.QueryException: [META.LUCENE.1001] Query failed. [{}hasURI=urn:///tasktype/xxxxxxxxx(AND)…