Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
On Solaris/AIX installations studio-tools buildear fails for projects with getByExtIdUri/getByIdUri() catalog functions included.
Environment:
===========
TIBCO BusinessEvents 5.1.1
Solaris/AIX Installations
Symptoms:
=========
studio-tools throws the following exception (java.lang.RuntimeException: Function Instance.getByExtIdByUri not found).
java.lang.Exception: Errors occurred when building EAR file. - java.lang.Exception: Failed to generate rule:/<ruleURL>
at com.tibco.cep.studio.cli.studiotools.BuildEarCLI.runOperation(Unknown Source)
at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.executeCommandLine(Unknown Source)
at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.main(Unknown Source)
at com.tibco.cep.studio.cli.studiotools.StudioToolsApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:344)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.Exception: java.lang.Exception: Failed to generate rule<ruleURL>
at com.tibco.cep.studio.core.util.packaging.impl.DefaultRuntimeClassesPackager.close(Unknown Source)
at com.tibco.cep.studio.core.util.packaging.impl.EMFBarPackager.close(Unknown Source)
at com.tibco.cep.studio.core.util.packaging.impl.EMFEarPackager.close(Unknown Source)
... 17 more
Caused by: java.lang.Exception: Failed to generate rule:/<ruleURL>
at com.tibco.be.parser.codegen.FileStreamGenerator.a(Unknown Source)
at com.tibco.be.parser.codegen.FileStreamGenerator.do(Unknown Source)
at com.tibco.be.parser.codegen.FileStreamGenerator.generate(Unknown Source)
... 20 more
Caused by: java.lang.RuntimeException: Function Instance.getByExtIdByUri not found. Try validating project before building.
at com.tibco.be.parser.codegen.RuleClassGeneratorSmap.visitFunctionNode(Unknown Source)
at com.tibco.be.parser.tree.FunctionNode.accept(Unknown Source)
at com.tibco.be.parser.codegen.RuleClassGeneratorSmap.a(Unknown Source)
at com.tibco.be.parser.codegen.RuleClassGeneratorSmap.if(Unknown Source)
at com.tibco.be.parser.codegen.RuleClassGeneratorSmap.int(Unknown Source)
at com.tibco.be.parser.codegen.RuleClassGeneratorSmap.appendAssignmentRHS(Unknown Source)
Resolution:
========
Copy studio.tra from a Windows or Linux installation to
$BE_HOME/studio/eclipse/configuration
Update the settings for property tibco.env.BE_HOME, tibco.env.AS_HOME in studio.tra