You could use the "proxyPort" attribute in your http Connector in
server.xml, for example:
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" connectionTimeout="2"
proxyPort="80" useURIV
I'm doing it in my server.xml file this way:
]>
and somewhere in the :
&inc_vhosts;
Turner, John wrote:
That makes sense. OK, next question, in a thread started yesterday, it was
mentioned (correctly, I assume) that you could use XML entities to include
external XML files into server.xml.
Nope, I tried making a very simple JSP with syntax errors:
<%
test
%>
which should give me an error message because "test" is not defined, but
I still only get a blank page, and an error only in the logs
Robin Lee (Tech Support) wrote:
Hi Christos,
Quick Question for you. Does your JSP page ha
On one of our Tomcat 4.1.12 servers, when someone requests a JSP page
that has compilation errors, he gets a blank page instead of getting a
tomcat generated page showing the compilation error. So we have to look
in tomcat's logs to get the error message. That's nice for a production
server, bu
I use Apache 1.3.27 connected to Tomcat 4.1.12 with mod_jk, using ajp13. When I restart Tomcat, if someone tries to access a jsp/servlet from Apache, he gets an error message from Apache ("Internal Server Error - The server encountered an internal error or misconfiguration and was unable to complet
I am trying to use Jasper 2 with Jikes instead of the internal javac,
but when I request a jsp file, I only get empty pages.
I followed the instructions in the tomcat 4.1 jasper howto, deleted all
files in the tomcat work dir and set the "logVerbosityLevel" param to
"DEBUG", and I get this in
I use the tag in web.xml to call a servlet when its
context is started. The servlet's init() reads a configuration file and
stores the configuration as a singleton object in the ServletContext.
I first thought this was a good idea, so that the user doesn't see the 2
or 3 seconds it takes to pars
It works fine if you wait long enough between calling the stop and start script,
but not if you write a "restart" script which
calls "catalina.sh start" and immediately after, "catalina.sh stop", because
then there's no delay between the two, and tomcat doesn't have the
time to shutdown before you
I use the tomcat manager app to be able to modify existing sites without
having to restart the Tomcat server.
It works fine, but I'm hosting multiple sites on the same Tomcat server,
and each site has its
own virtual host. Each virtual host has a corresponding in
server.xml, so when I want
to de
According to the Tomcat JNDI Resources HOWTO, if I want to use a JDBC connection pool,
I need to add settings both in server.xml and
WEB-INF/web.xml. Would it be possible to configure it entirely in web.xml?
I would like to have something equivalent to the following example, but that would be
10 matches
Mail list logo