ll this on XP; I wonder if that's a factor.
>
> If DB2 is running on the same machine as Tomcat, wouldn't the app
> driver be
> more appropriate--and faster? I don't know for sure but I would guess
> there
> is more overhead with the net driver than the app dr
Vance,
We're using DB2 via DataSource with Tomcat 4.0.3 using Struts
( element in struts-config.xml), so I assume this means it
should work without Struts also. Below is a JSP snippet that should tell
you if you're driver is working or not outside of Tomcat's Resource
Factory.
From what I g
Apache:
Set HostnameLookups On in httpd.conf
Tomcat:
Set enableLookups=true on your in server.xml
You probably don't really want to do this as there is a potentially
severe performance penalty for DNS lookups.
If you really want the hostname rather than the IP you'll probably be
better off po
Assuming I understand your question, you should be able to use
an absolute path to anywhere in your file system.
For example, to make the directory for your virtual host be
/var/www/mywebapp you do something like this in the element
in server.xml:
See htt
David,
I see Milt got the first part of the solution to you already.
Unfortunately, I don't know the answer to the "Premature packet header
end" problem.
But this is one of the reasons I switched to mod_jk from mod_webapp,
though your
situation sounds more severe than mine if every request is
David,
Looks to me like you need to make the port assignments be identical.
Try setting them both to 8008 like so:
className="org.apache.catalina.connector.warp.WarpConnector" port="8008"
WebAppConnection webappConn warp pedh12.micron.com:8008
Better yet, you might try using localhost c
David,
Is there any chance it's just that you need to change to port number
from 8009 to 8008 in httpd.conf?
WebAppConnection webappConn warp pedh12.micron.com:8008
Good luck,
Rick
On Wednesday, June 26, 2002, at 03:47 PM, David Bishop wrote:
> -BEGIN PGP SIGNED MESSAGE-
> H
Vincent,
Have you looked at the Jakarta sub-projects Struts or Velocity?
Perhaps one of these could be just what you're looking for.
Rick
On Friday, May 24, 2002, at 09:41 AM, Richard Johnstone wrote:
> I don't know about that but I use a base servlet which has all the
> borders etc for the pa
Tomcat 4.0.3
Apache 1.3.23
Struts 1.0
Log4J 1.1.3
Tomcat hangs after a few hours of constant traffic, consuming most of
the system
resources. When it hangs, all Tomcat logging stops. There on no error
messages in
catalina.out, nor in the system logs, that indicate what the source of
the
proble