Search

A.5.4. "Invalid object name 'JMS_SUBSCRIPTIONS' Exception

download PDF
If you receive an exception like the one in Example A.20, “JMS_SUBSCRIPTIONS Exception” during startup, specify a SelectMethod in the connection URL, as shown in Example A.21, “Specifying a SelectMethod”.

Example A.20. JMS_SUBSCRIPTIONS Exception

	  17:17:57,167 WARN  [ServiceController] Problem starting service jboss.mq.destination:name=testTopic,service=Topic
	  org.jboss.mq.SpyJMSException: Error getting durable subscriptions for topic TOPIC.testTopic; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'JMS_SUBSCRIPTIONS'.)
	  at org.jboss.mq.sm.jdbc.JDBCStateManager.getDurableSubscriptionIdsForTopic(JDBCStateManager.java:290)
	  at org.jboss.mq.server.JMSDestinationManager.addDestination(JMSDestinationManager.java:656)

Example A.21. Specifying a SelectMethod

	  <connection-url>jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=jboss</connection-url>
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.