Questions tagged [server.xml]

190 questions
2
votes
1 answer

WebSphere LibertyCore Class loader looking for wrong class

2 applications (A, B)are deployed on my server LibertyServer. Both contain the "esapi-2.0.1" library. my server.xml follows:
2
votes
2 answers

how reload the servlet without restart the tomcat6 server

If I have multiple Host definition on my $TOMCAT_HOME/conf/server.xml How can I reload the servlet without restart the tomcat6 server? What are the parameters for use Tomcat like with multiple host? unpackWARs autoDeploy liveDeploy deployXML…
M.M.
  • 21
  • 1
  • 1
  • 3
2
votes
1 answer

How to enable TLS1.2 for tomcat webserver connections We are using tomcat 7.0.82

I have a tomcat webapp where the client is using TLS1.2 but a technical scan found the server is still using TLS1.0. I want to enable TLS1.2. We are using Java 7 and the connector snippet for the server.xml is as below,
Sijo Kurien
  • 95
  • 2
  • 10
2
votes
1 answer

In tomcat server.xml, can AccessLogValve be defined for service element

I have a tomcat server running perfectly fine apart from writing the access logs. In Server.xml, the access log is defines like below: ---- …
Chaitra
  • 183
  • 1
  • 1
  • 8
2
votes
2 answers

Can IBM WebSphere Liberty Datasource be split from the server.xml into an include file?

Can IBM WebSphere Liberty handle splitting off the datasources/jndi entries from the server.xml into an include? When I split the datasources out of the server.xml into it's own file, and include it as an include in the server.xml file below the…
willzilla
  • 33
  • 1
  • 5
2
votes
1 answer

programmatically read a decrypted value from server.xml

I have a Websphere Liberty server with the following server.xml:
bobbyrne01
  • 6,295
  • 19
  • 80
  • 150
2
votes
1 answer

WSJdbcConnection does not wrap any objects of type com.microsoft.sqlserver.jdbc.SQLServerConnection

I am using SQLServerBulkCopy API to store millions of records in SQL Server database. I get an error stating "com.microsoft.sqlserver.jdbc.SQLServerException: Destination connection must be a connection from Microsoft JDBC Driver for SQL …
2
votes
1 answer

Adding server-specific options to an Eclipse-managed Tomcat instance (in server.xml)

How can I make sure that the server.xml which Eclipse produces for every separate project that relies on Tomcat, will always contain a specific option, which I added manually? I'd like to add a bunch of mappings to the server.xml file. I…
xantrus
  • 1,975
  • 1
  • 22
  • 44
2
votes
0 answers

Is there any way to view the "Request Body " received by the server in the server logs

I am having trouble in logging the "Request body " sent to an engine that i created . The engine is present as a war file (in webapps) and I want to access what request body was posted to the engine . I get only this response in the "…
CamundaGuy
  • 83
  • 3
2
votes
2 answers

Tomcat: Setting connectionTimeout in server.xml not effective

I am updating the default entry in the conf/server.xml in Tomcat 9 to timeout on a request after 1 second, but am not seeing the effects of this change in the browser. I am expecting to see a 500 Internal Server Error in the F12 Developer Tools…
apandit
  • 808
  • 1
  • 7
  • 16
2
votes
1 answer

Liberty - Can the keystore password be blank? String of length zero?

I am trying out couple of approaches in my design and want to know if the Keystore instance in server.xml can have a blank password ( string of length zero)
Jane
  • 53
  • 6
2
votes
0 answers

Failed to initialize connector

SEVERE: Failed to initialize component [Connector[org.apache.coyote.http11.Http11AprProtocol-8443]] org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is…
Himanshu Dave
  • 119
  • 1
  • 9
2
votes
2 answers

User authentication against multiple AD groups using tomcat and JNDI

I am hoping someone can help me out with this or at least confirm that it can be done. Currently, for my web application , when the user submits their login information, I authenticate them against an Active directory using tomcat server.xml JNDI…
2
votes
1 answer

Conditionally filter Tomcat AccessLogValve

I try to make Tomcat conditionally skip logging, so the access log isn't filled with lots of local application to application communication entries. At the moment I have the following in server.xml:
user4729922
  • 21
  • 1
  • 4
2
votes
2 answers

Why is my Tomcat 6 executor thread pool not being used by the connector?

My server.xml looks like the following:
jwegan
  • 363
  • 2
  • 5
  • 15
1 2
3
12 13