Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name of the connection setting. | |
Type | Required | Not available | Select [Topic settings]. |
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
XA transaction | Optional | Not available | Select whether to support XA transaction.
|
|
Initial context factory name | Required | Only environment variables are available. | Enter the factory implementation class to generate the initial context.
The class name depends on the JMS provider's class libraries stored by $DATASPIDER_HOME/server/plugin/data_processing/modules/jms_adapter. Learn more information about setting the initial context factory from "Preferences" Learn more about class library from "Library Installation". |
|
Provider URL | Required | Only environment variables are available. | Enter the provider URL provided by naming service .
Setting depends on each provider. See "Preferences" for more information . |
|
User name | Optional | Only environment variables are available. | Enter the user name to use the naming service. | |
Password | Optional | Only environment variables are available. | Enter the password to use the naming service. | |
Topic factory | Required | Only environment variables are available. | Enter the name of the factory to connect to the topic. |
|
Topic name | Required | Only environment variables are available. | Enter the name of the topic. |
|
Item name | Description | Remarks |
---|---|---|
Connection Test | Checks the connection to the host. |
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name of the connection setting. | |
Type | Required | Not available | Select [Queue settings]. |
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
XA transactions | Optional | Not available | Select whether to support XA transaction .
|
|
Initial context factory name | Required | Only environment variables are available. | Enter the factory implementation class to generate the initial context.
The class name depends on the JMS provider's class libraries stored by $DATASPIDER_HOME/server/plugin/data_processing/modules/jms_adapter. Learn more information about setting the initial context factory from the "Preferences" Learn more about class library from " library installation". |
|
Provider URL | Required | Only environment variables are available. | Enter the provider URL provided by naming service .
Setting depends on each provider. See "Preferences}" for more information . |
|
User name | Optional | Only environment variables are available. | Enter the user name to use the naming service. | |
Password | Optional | Only environment variables are available. | Enter the password to use the naming service. | |
Queue factory | Required | Only environment variables are available. | Enter the name of the factory to connect to the topic. |
|
Queue name | Required | Only environment variables are available. | Enter the name of the queue. |
|
Item name | Description | Remarks |
---|---|---|
Connection Test | Checks the connection to the host. |
Naming Service | Initial context factory name | Provider URL |
---|---|---|
SwiftMQ JNDI Service | com.swiftmq.jndi.InitialContextFactoryImpl | smqp://myhost:4001 |
IBM WebSphere JNDI service | com.ibm.websphere.naming.WsnInitialContextFactory | iiop://myhost:9001 |
iPlanet Directory Server (LDAP) | com.sun.jndi.ldap.LdapCtxFactory | ldap://myhost:389 |
BEA WebLogic JNDI service | weblogic.jndi.WLInitialContextFactory | t3://myhost:7001 |
File System JNDI Service | com.sun.jndi.fscontext.RefFSContextFactory | file:/tmp/stuff |
Exception Name | Causes | Solution |
---|---|---|
InvalidPropertyConfigurationException Are not given the resources required fields. : <Property name> |
[<property name>] is not specified. | [<property name>] Please specify. |
javax.naming.NoInitialContextException:
Cannot instantiate class: |
[Initial context factory name] is wrong, or class library has not been copied. | Check [Initial context factory name].Or check if the class library has been copied. |
javax.naming.ConfigurationException:
No scheme found in URI. |
[Provider URL] is incorrect. | Confirm [Provider URL]. |
javax.naming.NameNotFoundException | [Topic factory] or [Queue factory] is incorrect. | Confirm [Topic factory] or [Queue factory]. |
javax.naming.NameNotFoundException | [Topic name] or [Queue name] is incorrect. | Confirm [Topic name] or [Queue name] . |
javax.naming.NamingException:
unable to connect, exception = javax.jms.JMSException: error creating socket connection to localhost:4001, message: Connection refused |
JMS provider is not running, or the connection settings are incorrect. | Check whether JMS provider is running, or check the contents of connections setting. |