Questions tagged [tomcat]
Apache Tomcat is one of the most popular open source servlet containers developed by the Apache Software Foundation (ASF).
                38 questions
            
            
            
                -1
            
            votes
        
        
            
                2
            
            answers
        
        
            
                140
            
            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 :...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                60
            
            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 (...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                4k
            
            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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                6
            
            answers
        
        
            
                1k
            
            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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                134
            
            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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                444
            
            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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                -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:   ...
                
            
       
        
            
                5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                316
            
            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 same ...
                
            
       
        
            
                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.
...
                
            
       
        
            
                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 ...
                
            
       
        
            
                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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                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 ...
                
            
       
         
         
        