• Blog
  • Contact
  • Sign in
CloverDX
Product
  • Overview
  • CloverDX Data Integration Platform
  • What's new in CloverDX 6
  • Pricing
  • CloverDX plans
  • Deployment
  • CloverDX on AWS
  • CloverDX on Azure
  • CloverDX on Google Cloud
  • CloverDX on-premise
  • Resources
  • Customer Portal
  • Documentation
  • Downloads & Licenses
  • Webinars
  • Academy & Training
  • Release Notes
  • CloverDX Forum
  • CloverDX Blog
  • Tech Blog
  • CloverDX Marketplace
  • Other resources
isometric-illustration--product@2x 1

Get under the hood of CloverDX

See how CloverDX can benefit your business with a live demo. Simply get in touch with our team and we’ll handle the rest.

Book a demo
Solutions
  • By Industry
  • Banking
  • Capital Markets
  • Consultancy & Advisory
  • FinTech
  • Government Agencies
  • Healthcare
  • By Use Case
  • Data Quality
  • Data Ingest
  • Data Warehousing
  • Data Migration
  • Modernizing ETL
  • Digital Transformation
  • Enterprise Data Management
  • Risk & Compliance
  • Anonymization
How F3 Group use CloverDX to ingest more client data - webinar
Customer interview

Formula 3: Staying Small And Agile While Working With Large Enterprise Ecosystems

Browse webinars
Services
  • Services
  • Onboarding & Training
  • Professional Services
  • Customer Support

More efficient, streamlined data feeds

Discover how Gain Theory automated their data ingestion and improved collaboration, productivity and time-to-delivery thanks to CloverDX.

 

Read case study
Customers
  • By Use Case
  • Analytics and BI
  • Data Ingest
  • Data Integration
  • Data Migration
  • Data Quality
  • Data Warehousing
  • Digital Transformation
  • By Industry
  • App & Platform Providers
  • Banking
  • Capital Markets
  • Consultancy & Advisory
  • E-Commerce
  • FinTech
  • Government
  • Healthcare
  • Logistics
  • Manufacturing
  • Retail
Migrating data to Workday - case study
Case study

Effectively Migrating Legacy Data Into Workday

Read customer story
Company
  • About CloverDX
  • Our story & leadership
  • Contact us
  • Partners
  • CloverDX Partners
  • Become a partner
Pricing
Demo
Trial

How To Connect to JMS Queue on Glassfish V2 with CloverDX

Posted December 06, 2010
2 min read
How To Connect to JMS Queue on Glassfish V2 with CloverDX

You can connect to any JMS broker from CloverDX using JMSReader or JMSWriter component. In this article you can find instruction, how to create JMS Connection and how to configure the graph to connect to JMS queue on Glassfish application server from CloverDX.

What is JMS Queue?

JMS (Java Message Service) is a Java Enterprise Edition (EE) technology used to allow messages to be sent in a decentralized manner between web clients or end-users. In order to check for new messages or to send outgoing ones, a Java program must successfully connect to the JMS queue in order to proceed with the application.

Let's suppose we've defined JMS connection factory test on the Glassfish application server as follows and JMS queue jms/testQueue:

Connecting to JMS Queue on Glassfish v2 with CloverDX

Now we need to define JMS connection in CloverDX graph:

Connecting to JMS Queue on Glassfish v2 with CloverDX

"Connection factory JNDI name" and "Destination JNDI" refers to the objects we have just created on our application server.

Library appserv_rt.jar contains com.sun.enterprise.naming.SerialInitContextFactory class. When you add the library to the connection settings, you can choose the factory class from the combo box. But when you know the class name, you don't need to do it, as the Glassfish server has this library on the class-path or you will add it to the project class-path (see below). Remove the library after connection edition; having it in connection definition and in the class-path can lead to unpredictable errors.

If the graph is running on CloverDX Server within the same Glassfish server instance, you don't need any further settings as all needed jar files are contained in application server.

When you run the graph as a "client" (from CloverDX Designer, command line or other CloverDX Server) you need to set following jars on the jvm class path:

  • /lib/appserv-rt.jar
  • /lib/appserv-admin.jar
  • /lib/javaee.jar
  • /lib/j2ee.jar
  • /imq/lib/imqjmsra.jar

(You find them in your Glassfish home directory).

In CloverDX Designer you can do it by selecting the project. After right click go to Properties --> Java Build Path:

Connecting to JMS Queue on Glassfish v2 with CloverDX

You can add the libraries with "Add JARs..." button if you have copied the files to the Workspace or with "Add External JARs..." if the files are outside the Workspace.

You also need to set the -Dorg.omg.CORBA.ORBInitialHost property if you run the graph on the different host and the naming service port property, if necessary. The default naming service port in the app server is 3700. If the naming service is running on a different port, you'll need to set it via the -Dorg.omg.CORBA.ORBInitialPort property. You can double-check the actual naming service port for a given server instance by looking in the server instace's domain.xml for "orb-listener-1". Alternatively, check the Configuration --> ORB --> IIOP Listeners --> orb-listener-1 in Glassfish Administration Console.

To set these properties, when running the graph from CloverDX Designer, you need to create new graph launch configuration:

  1. Go to Run --> Run Configurations
  2. Create new CloverDX graph configuration
  3. Switch to Arguments tab and set the properties:Connecting to JMS Queue on Glassfish v2 with CloverDX

Share

Facebook icon Twitter icon LinkedIn icon Email icon
Try CloverDX for 45 days  Full access to Tech Support as if you were a customer

Newsletter

Subscribe

Join 54,000+ data-minded IT professionals. Get regular updates from the CloverDX blog. No spam. Unsubscribe anytime.

CloverDX logo
Book a demo
Get the free trial
  • Company
  • Our story
  • Contact
  • Partners
  • Our partners
  • Become a partner
  • Product
  • Platform overview
  • Plans & Pricing
  • Customers
  • By Use Case
  • By Industry
  • Deployment
  • On-premise
  • AWS
  • Azure
  • Google Cloud
  • Services
  • Onboarding & Training
  • Professional Services
  • CloverCARE Support
  • Resources
  • Customer Portal
  • Documentation
  • Downloads & Licenses
  • Webinars
  • Academy & Training
  • Release Notes
  • CloverDX Forum
  • CloverDX Blog
  • Tech Blog
  • CloverDX Marketplace
  • Other resources
Blog
6 major data management risks — and how to tackle them
Data Management
Why data trust matters to your customers
E-Commerce
How business systems analysts can make data more accessible
Data Democratization
Solving data sharing in a hybrid working world
Data Governance
© 2023 CloverDX. All rights reserved.
  • info@cloverdx.com
  • sales@cloverdx.com
  • ●
  • Legal
  • Privacy Policy
  • Cookie Policy
  • EULA
  • Support Policy