I have always used WebSphere, where we can set data source and have buses and queues. How to find those features in Apache Tomcat, if possible?
-
Check this: http://stackoverflow.com/questions/9491905/how-do-i-use-apache-tomcat-7-built-in-host-manager-gui – Rahul Tripathi Dec 17 '15 at 10:01
-
Worst ever title to describe the question – Dave Richardson Feb 26 '20 at 10:30
3 Answers
Tomcat is a lightweight servlet server. In order to add some of JEE features like JMS provider, you have to integrate a third party solution like ActiveMQ and declare your resources (datasources, queues or topics) in context.xml file like this :
<Resource name="jms/ConnectionFactory" auth="Container"
type="org.apache.activemq.ActiveMQConnectionFactory"/>
you can also use TomEE, which is a tomcat with JEE features. I think it's more suitable for you.
Hope it helped

- 400
- 3
- 16
-
-
If you have read the whole question, you would have seen that the answer is a solution. You must read the description and not just the title ! It's abvious ! – Zava Dec 17 '15 at 12:36
Tomcat is not a full-blown application server.
You can deploy / undeploy applications via tomcat.url:8080/manager
manager
itself is a webapplication which ships with default installation.
To access it you will need to modify some config files. A complete guide for this can be found here

- 9,039
- 5
- 34
- 52
Unfortunately you are down to manually editing xml files.
If you considering switching to Apache Tomcat, try WebSphere Liberty Profile. It is as lightweight as Tomcat, but full Java EE 7 compatible, and have nice configuration editor in Eclipse provided by WebSphere Developer Tools plugin, so no looking for and typing xml configs.

- 17,601
- 4
- 46
- 93