Skip to main content

Questions tagged [tomcat]

Apache Tomcat is one of the most popular open source servlet containers developed by the Apache Software Foundation (ASF).

Filter by
Sorted by
Tagged with
-1 votes
2 answers
109 views

Using classes in separate Tomcat Projects

I need your sage counsel on the following scenario that I would like to implement. I have a class that interfaces with a persistence layer (an ERP system) with a JAR dependency (in fact JAR and a DLL :...
LostAndConfused's user avatar
1 vote
0 answers
47 views

how to handle external shared libraries, which we do not want to expose

We have 800-900 services we expose via an ESB. Each service is a web app hosted on Tomcat servers. We have 4 tomcat servers per group of services. Our services are split into 4 groups. Each service (...
Kelvin Wayne's user avatar
0 votes
1 answer
3k views

Tomcat redirect HTTPS to HTTP

Made system update to temporarily disable HTTPS in our Tomcat server. Previous users are still using Https:// URL to access system and receive error message because it's disabled. Would like to ...
kpurens's user avatar
  • 75
1 vote
1 answer
5k views

Does Web Socket block thread while keeping connection as regular http connection does?

Let's take Spring web socket (with tomcat) for example. Does Web Socket blocks thread while keeping the connection between server and client? (For example, connection can last 2-3 hours). ( Does web ...
Teimuraz's user avatar
  • 492
1 vote
6 answers
975 views

Tackling malformed requests

We have a Java Application running on Tomcat as the AppServer & Apache as the Webserver. Currently, we are handling Malformed requests in the Application itself. However, I was wondering if it's ...
user93353's user avatar
  • 441
1 vote
0 answers
115 views

Classiest file system locations for my Linux app to write its files?

I have an application I am writing on Linux. It is a Java webapp intended to be run on Tomcat. When it initializes, my application will copy some standalone java utility programs to the host ...
DWoldrich's user avatar
  • 119
1 vote
2 answers
1k views

What risks are there to using Node.js with Java EE?

We are developing a B2B web application in which we are using(suggested by seniors) two servers. One is Node.js (to serve all the request related html & static content) and the other is Tomcat to ...
smali's user avatar
  • 119
3 votes
1 answer
418 views

IPC design considerations

In our internal architecture, we have several Tomcat servers which distribute the workload and isolate the different processes of our business. We are planning to move into an approach where several ...
Gonzalo Vasquez's user avatar
1 vote
1 answer
2k views

How to deploy a war file in production?

I have a war file of a web application which I want to deploy in production mode. I am confused as to how I should go about it. I was currently working Apache Tomcat to develop and debug the ...
Vaibhav's user avatar
  • 39
-6 votes
2 answers
2k views

How does the web application support 150 max threads when the cpu only supports 2? [duplicate]

doing an lscpu cmd this is what i get $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: ...
rtd353's user avatar
  • 1
5 votes
1 answer
267 views

Can you use annotations for any use-case of Web.xml in Java EE?

Nowadays I have been practising Java EE. There are may annotations which simplify configuration of servlet container. Such as: @WebServlet @WebInitParam @ServletSecurity etc. You can do the ...
ucas's user avatar
  • 151
11 votes
1 answer
4k views

Why use IIS or apache tomcat instead of self-hosting?

I am a .NET developer. I see ASP.NET MVC framework now started providing a self-hosting feature. It makes a lot of sense (to me). A self-hosted application feels complete with no external dependency. ...
bilal fazlani's user avatar
2 votes
1 answer
3k views

How can I find out network latency in rest service

I have two Java applications deployed on tomcat. For inter application communication I provide jar file of application (Java API) to other application and it becomes a method call which is fast. Now ...
Vipin's user avatar
  • 141
1 vote
1 answer
6k views

Can I install Apache HTTP server and Apache Tomcat server on the same host?

I want to practice web programming on my Ubuntu virtual machine. I want to learn both server side web development using Java/J2EE and client side coding (HTML/CSS/JavaScript) . I heard that we need ...
Ravi Chandra's user avatar
1 vote
0 answers
2k views

Threading strategies for a webservice implementation

If I am building a webservice/Web API for servicing requests, there are 2 threading strategies I can think of. I will explain this in terms of Java (though the question may be relevant for any other ...
user93353's user avatar
  • 441
1 vote
2 answers
3k views

What is a good way for Tomcat to interact with another Java application running on the local machine

I'm new to using Java within a web environment. At the moment I have a Java application that we run on a local machine, we'll call it the server app. We want to add the ability to communicate with ...
Mr. Nivlac's user avatar
3 votes
0 answers
196 views

Embedded tomcat cold deployment without service disruption

I have the following scenario. For various reasons I chose to use embedded tomcat for my rest backend that will form a cluster of AWS machines. I will want to deploy fairly frequently updates ...
arisalexis's user avatar
1 vote
2 answers
5k views

Working with two different database types for one application [duplicate]

Software: Java J2EE Application hosted on Tomcat Server. UPDATE The current software is JAVA Web application containing just JSP and Servlets no frameworks or anything. Simple JSP and ...
S.M.09's user avatar
  • 297
1 vote
2 answers
2k views

Improve the speed of a Tomcat Server with MySQL

I'm developing an application with 3 sides, desktop (JavaFX), server (Tomcat) and Android. And a MySQL Database Server. The app receive mails and convert them into tasks. The tasks are sent to the ...
vLopez's user avatar
  • 111
0 votes
0 answers
734 views

Embedded Tomcat Cluster

Can someone please explain with an example how an Embedded Tomcat Cluster works. Would a load balancer be necessary? Since we're using embedded tomcat, how would two separate jar files (each a ...
user avatar
2 votes
1 answer
4k views

Session serialization in JavaEE environment

Please consider the following scenario: We are working on a JavaEE project for which the scalability starts to become an issue. Up until now, we were able to scale up but this is no longer an option. ...
Ionut's user avatar
  • 537
3 votes
0 answers
1k views

Explanation java/web (tomcat/coyote/JSP/Servlet etc..) in 'Perl-world' terms

Analyzed one web-server. for the http request I got: apache 2.2... what redirects to https, and for https got apache-coyote 1.1. and the server runs XWiki java app. Trying to understand how it is ...
clt60's user avatar
  • 276
10 votes
1 answer
13k views

Separating front end from back end - Tomcat

I'm currently working with a company that uses Java / Tomcat / Spring for the back end of our web applications. As a front-end developer, I'm feeling more and more strongly that the back end should be ...
StackExchange What The Heck's user avatar
7 votes
1 answer
70k views

What is the difference between apache and tomcat in the xampp control panel? [duplicate]

I installed xampp in my machine. I wonder what is the difference between apache and tomcat in the xampp control panel. p/s: I started apache only and test with "localhost/index.html", it works. I ...
eric's user avatar
  • 79
6 votes
1 answer
2k views

Shall I separate the admin part from the rest of the war

I built a web-applicationg using struts2. Then I built a small admin interface in the same war. With time the webapp grew and so the admin-interface. Now, I'm thinking to separate the admin interface ...
coding_idiot's user avatar
2 votes
1 answer
2k views

Refactoring Tomcat webapp deployments

Background We have several webapps running on Tomcat 7.0.x (on Linux). For historical reasons, we have populated the "Common" lib (i.e. $CATALINA_HOME/lib) with many application jars. These jars ...
Michael Easter's user avatar
4 votes
4 answers
4k views

Why does Java require a servlet container for simple RPC service?

I have a big database controller which is written in Java. The controller reads information from the database, and interprets it into data structures which are then displayed in a CLI. Java was ...
Guy L's user avatar
  • 179
6 votes
2 answers
393 views

JavaEE server experience matters for a developer?

Lately I am seeing quite a few application development job ads asking for experience with this or that Java EE server. I can understand this if it is for a server administrator, however I find it ...
Kalyan's user avatar
  • 79
1 vote
1 answer
1k views

Tomcat 7 vs. ehCache Standalone Server (Glassfish) Configuration with RESTful Web Services

My requirements consist of using ehCache to send and store data via RESTful web service calls. The data can be stored in-memory or via the filesystem... Never used ehCache before so I am having some ...
PacificNW_Lover's user avatar
5 votes
1 answer
3k views

Java solution for mutual authentication with smart card

I need to develop a Java solution for mutual authentication between Tomcat 6 (server) and SmartCard "IDGo 300" (client). In order to do this I thought of the following scheme: 1.Tomcat (server) send ...
xfocus's user avatar
  • 51
5 votes
4 answers
4k views

How to incrementally update a database when deploying a website?

We use JSF over Tomcat along with a backing proprietary DB. I want to know how the addition of new database fields or/and stored procedures should be handled when we deploy a new version of the ...
Archan Mishra's user avatar
5 votes
1 answer
432 views

Is hiring a junior developer as a technical trainer a good idea?

So my friend's boss brought in four junior candidates with some work experience, she is one of them. Her manager wants them to be experts on the subject matter of tomcat in a matter of two months in ...
HunterBlack's user avatar
2 votes
3 answers
867 views

Using Jython and Tomcat in bundle - should we even try to?

Have you ever used Jython in bundle with tomcat in any serious, production-ready service? What pros and cons can you name? Is it worth trying if all guys in team has no problems with coding on Java, ...
shabunc's user avatar
  • 2,454
3 votes
1 answer
2k views

How can we design mobile chatting XMPP server

I have a xmpp server design problem, I have been thinking and searching about this for a while, but cannot reach a decision, I hope experts here can give me a hint, really appreciate. <Requirement&...
Usher's user avatar
  • 131
3 votes
2 answers
2k views

Need to make a stock inventory application

I need to make an application for my dad to keep track of stock trading inventory. He trades shares for himself and for his clients and would like to keep the records, things like buy/sell price of ...
xyz's user avatar
  • 1,162
6 votes
4 answers
2k views

Starting a game website. Sanity check (Jetty, WebSockets, Java, etc) [closed]

I'm starting a new game website. This is a project to help me learn additional technologies. My background is very much Microsoft and Apple technologies / languages / IDEs. This project I would ...
user avatar
1 vote
1 answer
314 views

Questions and Concerns About Using Java/Tomcat and Apache

I am having to use Java due to needing one backend library. Is it still considered good practice to set up Apache as the front-facing server and have Tomcat behind it? I am spending a lot of time ...
Genadinik's user avatar
  • 509
5 votes
3 answers
415 views

What reading is recommended for an experienced Java/SQL Developer moving to Apache/Tomcat, Postgres, Hibernate [closed]

I am taking over management and development of a website developed in Java using Hibernate and Postgres, running on Apache/Tomcat. I am an experienced Java developer, and have experience in Ruby on ...
kevin cline's user avatar
  • 33.7k