Hi Peng,
Given below are server.xml and web.xml entries and code to access dbcp
resource from servlet.
When servlet is looking up for jndi name server hangs up with no response,
wiht 100% cpu busy signal.
With no exception message logged logs files.
Thanks in advance.
--
DBCP
Hello list!
Chandolu, Yuva wrote:
Hi,
I get the error org.apache.jasper.JasperException: Cannot load JDBC
driver class 'null'.
What is this and how can I proceed from here? I have Tomcat 4.1.12,
JDK1.4.1 installed and have DBCP 1.0, Pool 1.0, Collections 2.0, and
Oracle's jdbc driver
Tuncay Baskan wrote:
I'm trying to use a JNDI name for a JDBC resource. Configuration is
as follows:
Tomcat 4.0.3
DBCP 1.0
In the server.xml, I have the following DefaultContext entry. (It must
be DefaultContext because there are 3 other webapps that use the same
database)
--= cut =--
For a quick solution:
keytool -delete -alias alias name, e.g., tomcat
And redo as you created the keys and certificate.
For your own benefit:
Take a look at the keytool command with an option, -help.
And reference the documentation as well. That will take you
to the direction where you need to
Chris McCabe wrote:
This new release made no difference in the behavior of the JK2 connector
with an https connection, so my question remains:
Does anyone know the secret formula to get a JK2 connector to work with
both the http and https connection of the Apache2 web server? I get a
404 Not
There has been changed something in 1.4.1.
Can't tell you the bug ID, but a quote from
http://java.sun.com/j2se/1.4.1/changes.html:
The compiler now releases the pointers to its internal
data structures after compilation completes, so that
using javac inside a java program will not leak
That depend very much on the operation system, and the way the
vm is implemented. The default behavior for many operating
systems is that the memory isn't shrinking. The freed spaces
is just free inside the memory of the vm. (The last time I had
to deal with solaris back in 98 the normal
-Original Message-
From: ilasno [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 8:29 PM
To: [EMAIL PROTECTED]
Subject: in search of more efficient design
PREAMBLE - I apologize if this is off-topic. I have been on this
search for a month, and have searched the
Although your question is rather vage I'll try to give some
hints on the same vage level.
If you are using a JDK 1.2.* and 1.4.1 you should do
one of the following:
- upgrade to 1.4.1
- use precompiled jsp's
- use jikes to complie the pages
- Just restart tomcat after all jsp have been
I can't see anything wrong at the first glance.
Some recommendations:
Try to use
do_submit_popup(%= response.encodeUrl(Action) %, 'foo', 'bar' );
instead of generating the encoded url in do_submit_popup.
Print out the requested sessionId to see if it is the same
as the one that was used to
Title: Message
Hi!
I am facing a
typical problem. I am using Apache Tomcat that comes with Java Web Services
Developer Kit (JWSDK) to use a web service that is being deployed within a Sun
ONE app server. The server is in the same LAN with the machine where the Tomcat
is running.
Abanindra Nath Sarkar typed the following on 15:22 20/12/2002 +0530
I am facing a typical problem. I am using Apache Tomcat that comes with Java Web
Services Developer Kit (JWSDK) to use a web service that is being deployed within a
Sun ONE app server. The server is in the same LAN with the
Hi,
Try just jdbc/db.
HTH
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 19. Dezember 2002 20:05
To: [EMAIL PROTECTED]
Subject: help with DataSourceRealm in 4.1.17
I've been using JDBCRealm successfully in my application but
jumped on the
I can't speak for the HP-UX JVM but I am running Tomcat with just the JRE
in Windows.
The steps to do that are:
1) Copy the tools.jar from the JSDK to the lib directory in the JRE, this
contains
the java compiler library, used for compiling JSP pages.
2) Modify the startup script for Tomcat
I have developed a servlet that ran fine on Resin. It also seems to
work when deploying as a war-file. I'm trying to convert to Eclipse
and Tomcat, but I don't want to make war files during development.
Instead of using a war file I have the following entry in the
server.xml file:
Context path=
I just d/l Tomcat 4.1.17 and am having a heck of time
trying to deploy web application into Tomcat. I am
using the latest ant 1.5.1 with combination of 4.1.17
tomcat. I use ant install and it always failed to
install. Spent a day to figure it out and it finally
worked after tweaking this and
Also note that mixing ISO-8859-1 and UTF-8 in html pages,javascript pages
and css pages
is bad. Internet explorer assumes for example that if the html page is
UTF-8 that all javascript pages
referenced from that page are also UTF-8. The key do successfully mix
different character set is to
On 19 Dec 2002 at 11:14, aps olute wrote:
The problem is someone else had written the support class. The
support class
will only take (File f) as its argument in its constructor. The
You could read your properties, put it into a temp file, which
you are guaranteed to be able to
Hi,
excuse me, you're right in one aspect. I realized it later that
I didn't read the whole question. I just thought: OH AGAIN. But
this doesn't make the answer wrong.
If you're in a servlet, no matter where, you can get the
ServletContext by getServletContext(). From it you can have for
Why use jikes? It would make any difference to the final performance
of my application?
I tried in vain to use Ant to precompile my JSPs :-(
On Fri, 2002-12-20 at 07:17, Ralph Einfeldt wrote:
Although your question is rather vage I'll try to give some
hints on the same vage level.
If
Hi,
I have experienced similar log entries.
I had to copy the webapps directory from a W2K machine to an HP-UX environment, and my
transfer method removed all the capitalisation from my directory and filenames (e.g.
WEB-INF became web-inf).
I notice that your app is ATTS - in uppercase.
I am having some problems, when reading through the logfiles this is one of the
exceptions I get :
CoyoteAdapter An exception or error occurred in the container during the request
processing
java.lang.NullPointerException
at
Hi,
The problem is with your web.xml - it occurs at line 105 column 11!
The error messages tell you that within the web-app element, only the following are
allowed:
Hello there,
I have a problem with the Listener element inside a Context element
in the server.xml configuration file. I always get a ClassNotFound
Exception for the class I specify in the attribute className when I
try to start catalina.
I defined a Listener like this:
Host name=localhost
--- Roberts, Eric [EMAIL PROTECTED] wrote:
Hi,
Try just jdbc/db.
Yeah, I've tried every combination that I can - jdbc/Db, /jdbc/Db,
env/jdbc/Db, /env/jdbc/Db, etc. up to java:comp/env/jdbc/Db.
None work. Again, I think it is a timing issue where the Realm
is initialized before the JNDI
As javac has some memory leaks that affect the cbefore 1.4.1 it's
an option to use jikes instead if you can't upgrade to JDK 1.4.1.
(There may be many reasons for that). Beside solving the memory
problem Jikes will not affect the performance of your application
significant.
-Original
Hello,
I am using realm to authenticate users in my system and
with it I can tell wich page to use in login and error.
Can I tell wich page I want to display when an error 403
occur in Apache/Tomcat configuration?
Thank you!
Ricardo Costa
Don't
Hello,
I want to use connection pool built-in Tomcat 4 for connection to InterBase (FireBird)
database server. I use interclient or JDBC driver for FireBird. When I create one new
connection for each servlet, it's always allright.
Example:
DataSource dataSource = new
Yes - I always put my context defs in server.xml - I just find it more reliable!
-Original Message-
From: Kevin HaleBoyes [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 20. Dezember 2002 13:41
To: Tomcat Users List
Subject: RE: help with DataSourceRealm in 4.1.17
--- Roberts, Eric [EMAIL
OK, I got it now, if we have maxWait=0, tomact waits until a connection is
realeased by some other process.
-Original Message-
From: Chandolu, Yuva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 7:05 PM
To: [EMAIL PROTECTED]
Subject: Tomcat infinitely waits for connection!
Hi,
I have multiple webapps which must share the same dataresource (DBCP to
Oracle DB). Currently I'm using this resource from the DefaultContext
element, it works fine there.
But, I was wondering if I can make it 'globally' available in the
GlobalNamingResources element. The docs say that it
Hi fellows.
I think I'm doing something wrong, but I can't get a JNDI Datasource
configured in GlobalNamingResource section.
Here is my configuration:
Resource name=jdbc/global type=javax.sql.DataSource
auth=Container scope=Shareable/
ResourceParams name=jdbc/global
parameter
Hi,
I've got this in my web xml for the app..Not doing global though.
- resource-ref
descriptionDB Connection/description
res-ref-namejdbc/shiltonDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
Regards
Kevin
-Original
Hi,
I'd like like to know the state of implementation for both connectors JK2
and mod_webapp about the fact of passing SSL Certificate from Apache to
Tomcat. I've seen in JK2 documentation that it was a missing feature and for
mod_webapp that it wasn't fully implemented.
As my information
Klaas:
Make sure you have the ResouceLink Tag inside each context that needs to
use this
datasource. Also, in using Global Resources, there is no need for a
resource-ref tag
in your web.xml config file anymore.
A possible error is your driverClassName parameter. You have it set up as:
Simple minded as I am, I still believe with everything I have that there
MUST be a setting in Tomcat that controls how often new session ID's are
generated. If I have a simple page that does nothing but a
session.getId() and it returns a new session ID every 60 mins, there must
be something in
Lars Preben S. Arnesen typed the following on 10:59 20/12/2002 +0100
When I start Tomcat I get an exception (included below). I seems like
the problem is in the web.xml, but this works just fine when the
xml-file is included in a war-file. I removed almost all entries and
inserted one by one and
[EMAIL PROTECTED] typed the following on 13:29 20/12/2002 +0100
I always get a ClassNotFound
Exception for the class I specify in the attribute className when I
try to start catalina.
...
Context path=/myapp docBase=myapp debug=1
Listener className=com.mypackage.ListenerClass/
/Context
did you have any errors in the log file? It may be something as simple as
not putting the session-timeout in the correct order in the web.xml
Charlie
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 19, 2002 3:51 PM
To: Tomcat Users
Hi, Kenny.
I think this is basically how it works:
- Tomcat's conf web.xml sets the default session-timeout (in
session-config element) to use for all web apps.
- You can specify a different session-timeout in each specific web app you
deploy in the web app's WEB-INF/web.xml file.
-
Kenny G. Dubuisson, Jr. typed the following on 09:05 20/12/2002 -0600
Simple minded as I am, I still believe with everything I have that there
MUST be a setting in Tomcat that controls how often new session ID's are
generated.
This is a standard configuration in the web.xml file, use:
I have this weird problem with setting the JAVA_HOME env variable in
Tomcat 4.1.18 (I also had it in 4.1.17).
Here is the lines from my startup.sh:
CATALINA_HOME=/usr/local/tomcat1-new
JAVA_HOME=/usr/local/j2re1.4.1_01
JAVA_OPTS=-ms32m -mx200m
export CATALINA_HOME JAVA_HOME JAVA_OPTS
This setup
Try using the Tomcat Administration tools and see how it displays the
session timeout in it's WEB pages.
(http://localhost:8080/admin/login.jsp)
-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 9:29 AM
To: 'Tomcat Users List'
Subject: RE:
Ben Ricker wrote:
I have this weird problem with setting the JAVA_HOME env variable in
Tomcat 4.1.18 (I also had it in 4.1.17).
Here is the lines from my startup.sh:
CATALINA_HOME=/usr/local/tomcat1-new
JAVA_HOME=/usr/local/j2re1.4.1_01
JAVA_OPTS=-ms32m -mx200m
export CATALINA_HOME JAVA_HOME
If I'm not mistaken, I read somewhere that using GlobalNamingResource
with ResourceLink (inside Context) make unnecessary to put resource-ref
in web.xml. Tomcat naming examples didn't use it too.
Is that correct?
iran
-Mensagem original-
De: Kevin Passey [mailto:[EMAIL PROTECTED]]
Looks like you are having this problem from a JSP?
Try doing it in a Servlet and see if you get the same problem.
Haven't seen your code and I'm really not sure about this, but it may not be
a problem with Tomcat finding the jar file. You may need to include %@
page
I got my answer in this thread:
Make sure you have the ResouceLink Tag inside each context that
needs to
use this
datasource. Also, in using Global Resources, there is no need for a
resource-ref tag
in your web.xml config file anymore.
iran
-Mensagem original-
De: Iran Marcius
Iran Marcius wrote:
If I'm not mistaken, I read somewhere that using GlobalNamingResource
with ResourceLink (inside Context) make unnecessary to put resource-ref
in web.xml. Tomcat naming examples didn't use it too.
I may have been the perpetrator of that particular piece of information.
It was
Hi all :) I know some of you are probably cringing saying oh no not again!
;)
Well its that time again. Going to get this mod_jk working if it's the last
thing I do!! So I followed the how-to...again. It looks like Apache is
not getting any errors when trying to see the mod_jk connector.
Martin Jacobson wrote:
Chris McCabe wrote:
This new release made no difference in the behavior of the JK2
connector with an https connection, so my question remains:
Does anyone know the secret formula to get a JK2 connector to work
with both the http and https connection of the Apache2
Hello Denise,
Looking at your mod_jk.conf, it is pretty apparent why this isn't
working for you. You have this:
VirtualHost www.mydomainname.com
ServerName www.mydomainname.com
...
...
...
/VirtualHost
I'm guessing that www.mydomainname.com was just a dummy site someone
Jake,
I clarified that in the last paragraph of my email :) I just used that for
purposes of sending out the files. In the actual files on my server, the
real value is in place... Where you see www.mydomainname.com in the files,
just imagine that's legit because in the files it is my actual
Thanks for the quick response. Here are my responses:
- Tomcat's conf web.xml sets the default session-timeout (in
session-config element) to use for all web apps.
That makes sense to me but the setting in my $CATALINA_HOME/conf/web.xml is
set to 30 mins which to me says that Tomcat is not
Hi Denise. I successfully integrated apache 2.0.43 and tomcat 4.1.16
with a simplistic configuration.
httpd.conf
--
LoadModule jk_module modules/mod_jk-2.0.43.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
Thanks for the response. Here is my questions?
This is a standard configuration in the web.xml file, use:
session-configsession-timeout60/session-timeout/session-config
I checked my $CATALINA_HOME/conf/web.xml file and it currently has the
setting set to 30 mins. This says to me that this
Hello all
file catalina.out is full with such errors:
Dec 20, 2002 5:10:32 PM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.lang.NullPointerException
at
org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:386)
at
Thanks for the info. Here is my question:
Try using the Tomcat Administration tools and see how it displays the
session timeout in it's WEB pages.
(http://localhost:8080/admin/login.jsp)
I don't see such an app on my system. I'm running Tomcat 4.0.5. I went to
the $CATALINA_HOME/webapps
I think I need the help of outside eyes, because I must be not seeing
the forest for the trees. Under Tomcat 4.0.6 I was serving out XML which
had Unicode code points for Arabic characters and in all decent browsers
(Mozilla, Phoenix, Chimera, etc.) the Arabic displayed beautifully.
Yesterday we
I opened a thread in Oracle JDeveloper Forum about a java.lang.NoClassDefFoundError:
sun/reflect/ConstructorAccessorImpl and also this thread. This problem came out with a
ClassCastException and, after restarting the context, the NoClassDefFoundError:
sun/reflect/ConstructorAccessorImpl.
After
Hi,
We see many of this exception in catalina_log file while we ran a stress test on
Tomcat 4.1.17 with IIS connector (isapi_redirector2.dll) on W2k. Do you know what
causes this error?
2002-12-19 17:33:16 CoyoteAdapter An exception or error occurred in the container
during the request
I'm new to Tomcat and was wondering how to accomplish this task...
When Tomcat is installed there is a ROOT webapp that has various links
to Tomcat Manager, Admin, etc. I don't want to loose that webapp, but I
would like to have a different webapp as the ROOT so that when a user
goes to
The path I gave you is for Tomcat 4.1. For 4.0 you will have to define the
manager in the $CATALINA_HOME/conf/tomcat-users.xml. Look at documentation
at: http://localhost:8080/tomcat-docs/manager-howto.html. Sorry, it is not
as simple in 4.0.
-Original Message-
From: Kenny G.
Ken,
Let me qualify this before giving you a possibility.
I have just started working with Tomcat as a
programmer (I'm mostly a system admin / integrator /
architect). And as another person on the mailing list
has pointed out, I am not a part of any apache.org
development team.
That said, I
Mark, nice job! I have learned a thing or two from your note. When one (at
least this one) is in a hurry to put together an application, they often
gloss over important details. Thanks!
-Original Message-
From: Mark Eggers [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002
My app has several JSPs that include an html file (ie. %@ include
file=banner.html %) that displays the app's version number. banner.html
gets updated every now and then with a new version number via Ant and
pushed to the Tomcat webapps/myapp directory along with the JSPs (forced
overwrite
Mark,
Sounds like you are using a %@ include file=file.html% style include.
This is a static, compile-time include. That means that Tomcat is probably
compiling the html file in along with the jsp. The only way to refresh this
would be to delete the compiled jsp files in the Work directory.
I
At this point I am willing to try anything - I am getting desperate...
Where in the httpd.conf file would that information go? Also what is
worker1? Should the last two JkMount statements point to my ROOT directory?
Thanks.
Denise Mangano
-Original Message-
From: Iran Marcius
I am trying to get the basic commands, besides JAVA read, i.e. JAR, JAVAX,
etc. JAVA is read for reasons I am not sure. I am not getting my
autoexec.bat for Win98 read, I think. I set autoexec.bat to the following:
@ECHO OFF
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;
SET APP=C:\myapp
SET
Is this behavior all from one browser, or from multiple browsers? I had a
similar problem, but by telling my browser to stop caching, it went away, so
my thought was that for whatever reason it was cached on the browser.
Which, as I'm typing this, seems like it might be fixed by the other
Hi,
I am running tomcat 4.0.4 on redhat 7.3 dual processor machine(2-4-18-3SMP) with
j2sdk1.4.1 for my web application,
The problem is after couple of hours(6 or 7 hours after 7 or more users hit the
system), tomcat crashes and I ened up finding kernel out of memory killing java
So lets go!
In my case, I put this configurarions in server, I mean, outside any
Apache directive. You can put it, for example, right bellow Listen
apache directive (coincidentally where we find the first DSO directives,
just a detail).
That worker1 is na arbitrary name I picked for my worker
I had the same sort of problem yesterday in 4.1.17 that I have not
yet solved. When startup.sh is executed, it echos the value of
JAVA_HOME and it is correct.
When I run ant -diagnostics list (or install)
I get:
java.home=/var/java/jre
which is NOT what the JAVA_HOME points to.
JAVA_HOME is
Well I tried it. And I added additional JkMount statements:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
JkLogFile /usr/local/tomcat/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d %H:%M:%S %Y]
JkRequestLogFormat %w %r %s %T
On a side note - a page I created and placed in my webapps ROOT directory
does in fact display correctly!!! Thanks!!!
Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 2:03
Maybe I should be posting this on a commons maillist or something?
Well, the problem is that I have some objects that I'm instantiaing
tons of times in my application, and so, I would like to pool them.
There is somewhere a good dummies guide to commons-pool jar? The
javadocs aren't enough
Hi
I'm trying to use the .../manger/html/ form to install my war. All the
documentation I can find just talks about 2 command parameters: path and
war URL.
I'm using:
Path /epresident
War URL jar:file:C:/Java/Webapps/epresident.war!/
I getting the error:
Message: FAIL - Encountered
Well, I apologize for the insistence but didn't get any answer that
could help me.
Lets remember: I'm trying to get a DataSource in my webapp which is
configured as a GlobalResource, as the following:
Resource name=jdbc/global type=javax.sql.DataSource
auth=Container scope=Shareable/
I not cringinggoing to put out a how to? I am looking for one designed
for dummies.
The docs on doing this on win2k machine, or anyone for that matter are
confusing.
Michele
From: Denise Mangano [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List'
Ok, I have been reading through the archives of this list and this is not
good
I have one registered domain for which I purchased a certificate for.
Apache is set up to use this certificate, and I can access my Apache app
through https://. Now I added some JSP to my site, and I need this
Iran,
Did you try changing
Context docBase=S:\WebAppTests path=/tests reloadable=true
privileged=false debug=4
To
Context docBase=S:\WebAppTests path=/tests reloadable=true
naming=true privileged=false debug=4
When I first setup naming, I was trying to use the default context.
What I found
I may not be able to help but I am certainly going to try!! .. Starting to
feel like all I do is take in this list ;)
Are you speaking of the index.jsp page? The page that says If you are
seeing this page then you have installed Tomcat correctly?
If I understand what I've been learning myself,
On Thu, 19 Dec 2002, Denise Mangano wrote:
Hi all :)
In response, I was running ps -ef to view what was running. I
haven't had a chance to read the man on ps, but I did quickly try
pstree -aup as you suggested. It looks like (if I am reading the
tree right) there is only one java process,
For jpg images, should I set content type to image/jpeg or image/jpg?
On 5 Nov 2002 at 16:48, Raj Saini wrote:
In your servlet set the content type of http header to image/jpeg or
image/gif depending upon the type of the image. If you have already
written a servlet, you can figure out
Using jsp:include page=banner.html/ doesn't work either. I verified the
JSP was recompiled and when I looked at the new login_jsp.java code I saw
that indeed a different method is being used, ie.
JspRuntimeLibrary.include(request, response, banner.html, out, false);
However, going through the
We have a number of Apache/Tomcat webapps that run through SSL with the
certificate only on the apache side. However we are using the warp
connector and if you are using mod_jk you may have a different behavior.
-Original Message-
From: Denise Mangano [mailto:[EMAIL PROTECTED]]
Sent:
Can you fill me in a little on what you had to do, if anything, to get your
webapps to come up with the https:// protocol. Am I going to have to use
the warp connector instead? If so, could someone fill me in on how to get
started with that?
Thanks.
Denise Mangano
Help Desk Analyst
Complus
I would imagine you do not need to switch to warp and the majority of the
list would say not to use warp. I only use it due to the fact it is not
currently convenient for me to upgrade the perl on my HP-UX box to 5.05.
The only thing I had to do was to place the warp equivalent of JKMount in
the
On Fri, 20 Dec 2002, Kenny G. Dubuisson, Jr. wrote:
Thanks for the quick response. Here are my responses:
- Tomcat's conf web.xml sets the default session-timeout (in
session-config element) to use for all web apps.
That makes sense to me but the setting in my
Can anybody explain the usage of work Directory in Tomcat. I see that
the compiled versions of the JSP's are being stored here. Does the JSP
get loaded from here upon actual execution? IF so what happens if there
is a change in the JSP.
One strange problem is every time I change a JSP, I had to
Anybody knows if there is one howto or faq o documentation for configuring
DBCP with postgresql, in tomcat?
how i must to configure the server.xml and web.xml files, and if there are
other configurations.
thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
On Fri, 2002-12-20 at 11:00, Felipe Schnack wrote:
Maybe I should be posting this on a commons maillist or something?
Well, the problem is that I have some objects that I'm instantiaing
tons of times in my application, and so, I would like to pool them.
There is somewhere a good dummies
The other JkMount statements that I have specified have al been placed
outside of the Virtual hosts directives, but I do not have one specified for
SSL. Everything in the Tomcat documentation seems to discuss setting up SSL
on Tomcat acting as a standalone, which is not my situation. I'm trying
The JKmount statement formulation will be the same regardless of protocol
so I would try placing the one in which you are interested in the 443
virtual host
If you scroll down to the bottom of this doc they show it in a 443 host
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html
On Fri, 20 Dec 2002, Denise Mangano wrote:
Well I tried it. And I added additional JkMount statements:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties
JkLogFile /usr/local/tomcat/logs/mod_jk.log
JkLogLevel info
JkLogStampFormat [%a %b %d
I was having a problem with Tomcat creating over 600 threads on startup. I
have a couple hundred hosts and a couple contexts per host. This was
causing huge a huge performance problem with CPU usage in tomcat 3.2.4, but
it seems to work OK with tomcat4, even though it still creates as many
I'm assuming that you are using mod_ssl with Apache, and not running a
separate SSL webserver like Stronghold, right???
I've not setup ApacheSSL/Tomcat before except with mod_webapp, but I
have setup Apache/Tomcat with mod_jk as well (just not with ssl support).
Here's my 2 cents anyway:
The
On Fri, 20 Dec 2002, Denise Mangano wrote:
The other JkMount statements that I have specified have al been
placed outside of the Virtual hosts directives, but I do not have
one specified for SSL.
As the previous poster suggested, this is most likely your problem.
As with other directives,
Here is the link to the jasper doc for jsp compilation
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
You will need to modify the checkInterval param in the conf/web.xml file of
your tomcat server, it defaults to 300 secs. so tomcat only checks every 5
mins for a new doc
for
Did you try
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html ?
Sincerely,
Pantek Incorporated
Justin L. Spies
URI: http://www.pantek.com
Ph 440.519.1802
Fax 440.248.5274
Cell 440.336.3317
-Original Message-
From: Dionisio Ruiz de Zarate
You may want to pursue object pooling, but the prevailing conventional
wisdom is that it's not really necessary. Object Pooling is important for
objects that are particularly expensive to create (due to internal object
requirements, like connecting to external resources) and is not really
1 - 100 of 132 matches
Mail list logo