Ask Your Question

JMS Username error

asked 2019-12-20 08:15:21 -0600

limowreck gravatar image

updated 2019-12-20 10:48:27 -0600

metadaddy gravatar image

We have a validated JMS Origin ready to connect with credentials, when I validate the pipeline we get the error below

javax.Naming.NamingException: "Username must be specified"

We have selected the username checkbox and entered our credentials. How we resolve this using the StreamSets GUI?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-12-20 13:37:22 -0600

metadaddy gravatar image

The username and password supplied in the JMS configuration are used in creating a JMS connection, but some JMS providers need credentials when creating the context factory. Try specifying username and password as part of the JMS Provider URL, with the syntax:


For example:

edit flag offensive delete link more


thanks..made that change but same error javax.naming.NameNotFoundException: JNDI lookup of "" failed - not found at com.solacesystems.jndi.SolJNDIInitialContextFactory$SolJNDIInitialContextImpl.lookup(

limowreck gravatar imagelimowreck ( 2019-12-21 00:29:46 -0600 )edit

I forgot to mention this is a Solace endpoint and it requires the VPN which I set as an additional JMS property in my Origin as follows Solace_JMS_VPN (and the second parameter is the name of your VPN) This error is resolved now I have a new one, it just says "validating pipeline" and hangs.

limowreck gravatar imagelimowreck ( 2019-12-21 10:32:39 -0600 )edit
Login/Signup to Answer

Question Tools



Asked: 2019-12-20 08:15:21 -0600

Seen: 14 times

Last updated: Dec 21 '19