Questions tagged [web-container]
62 questions
0
votes
0 answers
WildFly: How to configure the number of connections and handlers in webcontainer
Websphere Application Server has settings to configure the maximum number of connections for a WebContainer (as far as I understand, for rest calls as well)
In UI: Websphere-Servers-Servers Types- Websphere Application servers - server_name - Thread…

Violetta
- 509
- 4
- 12
0
votes
1 answer
StackBlitz - ECONNREFUSED when connecting to local machine
I'm running a simple express server on my machine and attempting to ping it from a StackBlitz web container, but am getting the following error when trying to connect:
FetchError: request to https://192.168.1.23:8443/ failed, reason: connect…

chantey
- 4,252
- 1
- 35
- 40
0
votes
1 answer
All web containers occupied by one app that depends on 2nd app
We have an application on our WebSphere Application Server that calls a web service of a second application which is deployed on the same app server.
There are 100 available web containers (threads).
At times when there are many active users,…

fishbone
- 3,140
- 2
- 37
- 50
0
votes
1 answer
GWT - how to get method A of service A from method B of Service B?
I have GWT projects as .war A and .war B... each .war's servlet contains methods like a
.war A - String methodA(){return "this is method A of .war A";}
.war B - String methodB(){return (?).methodA(); }
The thing is... I'd like to get methodA value…

user592704
- 3,674
- 11
- 70
- 107
0
votes
2 answers
servlet - many contexts - how to share db connection?
I have .war file A and .war file B and .war file C; B and C need to use database connection so I decided to use .war A to share database connection. But the problem is that .war files are limited with their own contexts. So my question is how to get…

user592704
- 3,674
- 11
- 70
- 107
0
votes
3 answers
servlet session and two war files
I am interested to ask... Is it possible to keep session between TWO war(s) on ONE web server.
For example there are
A) war file A
B) war file B
war file A has
...
String aText="Hello World";
session.setAttribute("anAttribute",aText);
...
so my…

user592704
- 3,674
- 11
- 70
- 107
0
votes
1 answer
Is there Web Container custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader="true" equivalent in Open liberty?
In WAS Liberty documentation I can find the Web Container Custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader…

Gilson Santos
- 27
- 1
- 1
- 6
0
votes
0 answers
Getting following errors while running my spring boot application which include dependencies of JPA,spring web, spring security, Sql and Thymeleaf
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [NonLoginAuthenticator[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]]
at…

NoONE
- 1
- 1
- 2
0
votes
0 answers
how does node js, when used as a server, can be defined in the context of a web server/ application server?
I try to understand the architecture nodejs, when using it as a server trough framework such as express.
I know all these concepts of web server, application server, and a web container but I don't
think that I fully grasped where does nodejs as a…

Daniel Shelly
- 1
- 1
0
votes
1 answer
How splitting in spring integration works for web container?
I want to use Spring Integration for HTTP inbound message processing.
I know, that it spring integration channel would run on a container thread, but if I want to use splits,
what threads would be used?
How the result of split would be returned to…

MaSEL
- 505
- 1
- 5
- 20
0
votes
0 answers
How servlet request object is allocated to thread and returns response object
I’m trying to understand how webcontainer work for the http request and sent back response and I’m stuck in middle
Clients submits a http request
Web server receives the http request and hand over to webcontainer
Webcontainer converts the http…

Pumpkin bell
- 35
- 4
0
votes
3 answers
How to cache objects on Tomcat across several WARs without putting the class-containing JAR into /lib/ext?
How can I cache server-wide (with cache scope spanning multiple WARs on this server) instances of classes from a JAR which is contained binary-identical in several WARs on a web container (server, e. g. Tomcat)?
I want to cache application…

Christian Gosch
- 75
- 10
0
votes
0 answers
When does a web container unpack /META-INF/resources?
The JavaEE documentation for ServletContext.getRealPath() says:
Resources inside the /META-INF/resources directories of JAR files
bundled in the application's /WEB-INF/lib directory must be considered
only if the container has unpacked them…

phant0m
- 16,595
- 5
- 50
- 82
0
votes
0 answers
Spring com Web Container Java ou Application Server?
Why in some projects people use Spring with Application Server?
I see someone questions when people using spring with Application Server.
Spring has implementation of your needs (Security, Data, Cloud ...). And those needs work perfectly on a Web…
0
votes
1 answer
WebSphere web container threads hungs with maximum threads state in runnable
We have WebSphere environment with 2 Node Agents and 4 Application Servers. On high traffic one of the application servers stops responding to requests at it jumps to maximum web container thread counts.
On analyzing thread dump we found that approx…

Shlok Thakur
- 13
- 1
- 7