Re: How to configure Tomcat to suppress adding port to URL??????

2003-02-12 Thread Christos Karras
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

Re: DTD for server.xml??

2003-01-08 Thread Christos Karras
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.

Re: tomcat 4.1 displays a blank page when compiling a JSP with compilationerrors

2002-11-18 Thread Christos Karras
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

tomcat 4.1 displays a blank page when compiling a JSP with compilationerrors

2002-11-18 Thread Christos Karras
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

apache+mod_jk: graceful restart of tomcat

2002-10-23 Thread Christos Karras
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

problem with jasper 2 using jikes

2002-10-10 Thread Christos Karras
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

load-on-startup's effect on tomcat startup time?

2002-09-05 Thread Christos Karras
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

Re: restarting Tomcat 4

2002-02-15 Thread Christos Karras
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

manager app: deploy new ?

2002-02-08 Thread Christos Karras
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

configuring JNDI resources in web.xml

2001-11-13 Thread Christos Karras
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