• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.206

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Creating Java Primitive Operator in Streams 4.0

270007AAV6 gravatar image
Question by ak.arun  (13) | Aug 12, 2015 at 04:01 PM streamsdevstreamsstudiooperatorsplprimitive

Hello all,

I have switched recently from Streams 3.1 to Streams 4.0. I am facing an issue creating a Java Primitive operator in the 4.0 version.

I have a namespace and I create a Java Primitive Operator under it using the Streams Studio IDE. However I am not able to import that and use that in any of the composites.

Is there any specific configuration changes that I have to do in Streams v 4.0 to make the Java Operators show up in the other spl files.

People who like this

  0   Show 4
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270001BRQ9 gravatar image Mary Komor (431)   Aug 12, 2015 at 05:43 PM 0
Share

When you say that you are not able to import the operator to use in other composites, do you mean that you don't see it listed in the Graphical Editor palette (to drag and drop), that you don't see it proposed in content assist in the SPL Editor or that you get compilation errors when you build an SPL application that references your Java operator? What error messages, if any, are you seeing?

270007AAV6 gravatar image ak.arun (13) Mary Komor (431)   Aug 13, 2015 at 08:18 AM 0
Share

@Mary Komor, I am not able to see that listed on the StreamsStudio editor pane. Say, When I key in Control Space, I am not able to find it in the drop down.

And before compilation itself, it would show the below error

CDISP0053E An unknown identifier was referenced in the SPL program: Test1.

Test1 being the java operator

270001BRQ9 gravatar image Mary Komor (431) ak.arun (13)   Aug 13, 2015 at 10:18 AM 0
Share

Are you using version 4.0 or 4.0.1?

Did you start with a new workspace in the 4.0 environment or are you reusing your workspace from the 3.0 environment?

Did you create a new Java operator in the 4.0 environment or are you reusing an existing Java operator from your 3.1 environment?

Try rebuilding the project/toolkit containing the Java operator in the 4.0 environment.

Show more comments

2 answers

  • Sort: 
270005M02A gravatar image

Answer by danlopezv (172) | Oct 13, 2015 at 10:31 AM

I'm running into the same issue in Streams v4.0.1. I create a Java Primitive Operator using StreamsStudio but the Java Operator Model XML file is not being generated. Since the XML file is not present you can't use the Java Operator in any of your SPL composites -- Streams returns the following error: CDISP0053E ERROR: An unknown identifier was referenced in the SPL program: JavaPrimitiveOperatorName. Do we need to build the Java Operator Model from scratch?

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270001BRQ9 gravatar image

Answer by Mary Komor (431) | Oct 20, 2015 at 05:47 PM

You may be running into the same problem as reported in this post: StreamsStudio in 4.0.1 new workspace not generating Java operator interface code

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

47 people are following this question.

Answers

Answers & comments

Related questions

Streams 4.0.1 Java Primitive Operator - Java Operator Model not being generated 1 Answer

Can i use two grammer files in teda infosphere stream ? 1 Answer

XML Parse operator throws error when working with large XML file. 2 Answers

Is there a way to iterate over a tuple member values and types at runtime? 1 Answer

Web Console not available on streams 4.0 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges