Questions tagged [server.xml]
190 questions
2
votes
0 answers
Issues with http redirect
I am using a grails 2.3.7 and am facing issues using redirect in controllers
I had my code running and everything was working properly. The problem started when I deployed my code onto production environment.
For production release I modified the…

Rammohan
- 493
- 6
- 27
2
votes
1 answer
Define a context in tomcat server.xml in openshift
I want to define a context in my tomcat server on openshift cloud. I have done it successfully in my local tomcat server but I don't know how to do it on openshift.
I did it in local by adding :

hamid
- 43
- 7
2
votes
1 answer
maxPostSize in tomcat's configuration
According to Tomcat7's documentation, setting maxPostSize in Connector to a value less than or equal to 0 may disable the limit of the size of a post request. But in fact, when I set it to 0, uploading a file in multipart/form-data enctype still got…

astonia
- 528
- 6
- 9
2
votes
0 answers
how to make virtual directory in Jboss 4.2.3 with tomcat 5.5?
I did that like this in server.xml. It works ok;
But I DO NOT want to do this in server.xml.…

Kurt X
- 217
- 1
- 6
- 12
2
votes
1 answer
Tomcat´s server.xml dynamic configuration
My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web application and once for application XYZ). How can I read…

Ivan Bosnic
- 1,916
- 5
- 21
- 31
2
votes
3 answers
XML::Simple's "XMLout" method is converting attributes to elements
I am attempting to use XML::Simple to update a few Java applications' server.xml files. While I am able to parse and update the object fine, the output from XMLout is giving me some trouble. It seems to insist on expanding all the original…

insultant
- 87
- 1
- 9
2
votes
1 answer
RealmBase Encryption Issue
i am trying to encrypt password for server.xml using RealmBase
into Tomcat7 through below command:
java -cp bin\tomcat-juli.jar;lib\catalina.jar;lib\tomcat-util.jar; org.apache.catalina.realm.RealmBase -a SHA passwd
and I am facing below error on…

user2019331
- 151
- 1
- 1
- 9
2
votes
1 answer
jboss ssl certificate
I have a JBoss server and I want to enable it's ssl capabilities. i read and made the modifications in server.xml in jbossweb-tomcat55.sar; But as it seems I didn't understand how to create and add the certificate the right way.
Can you please…

John11
- 437
- 1
- 6
- 16
2
votes
1 answer
virtualhost in tomcat 7 only takes defaulthost
I have two domains, and only takes defaultHost.
I introduce domain2.com, and shows me the application of domain1.mx
I use ngasi application with tomcat 7 and Cpanel.
With filezilla i access to file server.xml in conf folder of tomcat.
In each folder…

user1684596
- 21
- 1
2
votes
1 answer
On JBoss 4.2.3.GA - JSP response header transfer-encoding:chunked makes it so I can't cache jsp content on load balancer
On JBoss 4.2.3.GA, we have a JSP response that is being generated with transfer-encoding:chunked. This is preventing our Netscaler load balancer from allowing the HTML generated by the JSP from being cached because it thinks it is variable content.…

Nicholas DiPiazza
- 10,029
- 11
- 83
- 152
1
vote
0 answers
Config multiple Hosts and file WAR cannot extract in tomcat9
I am having problem config using multiple Hosts with different appBase,
I followed this tutorial and when I run my app I get the errors:
SEVERE [main] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context…

ivan saron
- 97
- 1
- 2
- 11
1
vote
3 answers
How to disable HTTPS on tomcat and have it run on port 8080?
I have the following connectors in my server.xml. My app runs on port 8080 and I no longer would like it to run on port 8443. How can I modify the connector to disabl HTTPS and only have tomcat run on 8080? Thank you