Skip to main content

Advice request: Connecting Sybase qAnyWhere to Glassfish using JMS

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
elliottg
Offline
Joined: 2013-07-21

Sybase's QAnyWhere messaging system can connect to external JMS messaging systems.
Sybase supports JBOSS and IBM WebSphere MQ out of the box.

Connection to a JMS messaging system is configured using a wizard which requests that the user enters a "JNDI Factory" name and a "Name Space URL"

It asks the user to enter data to connect to the JNDI name service provided by the JMS system.

For example:
When using WebSphere MQ the Sybase QAnyWhere settings are:
JNDI Factory = "com.sun.jndi.fscontext.RefFSContextFactory",
Name service URL = "file:/C:/JNDI-Directory"

When using JBoss settings are:
JNDI Factory = "org.jnp.interfaces.NamingContextFactory".
Namservice URL = "jnp://0.0.0.0:1099"

I'm trying to work out what values I should enter for GlassFish 4 JMS system. I have searched extensively but cannot find solution