I seem to have successfully installed tomcat and cocoon in a Redhat 7.0
system. I used Henri Gomez' rpms. One comment on the contents of
/etc/httpd/conf/workers.properties file. It contained
#
# The JVM that we are about to use
#
# This is for Java2
#
I've been banging my head for the last couple of days on this one...
doPost() called [Mon Feb 05 16:47:34 CST 2001]
Connection == [Keep-Alive]
Content-Length == [50]
From == [null]
Host == [penguin:8080]
processLogin() called [Mon Feb 05 16:47:34 CST 2001]
can tomcat give authentication to a servlet ?
I want to add a user name and password requirements to a particular servlet
how can I do it ??
thanks ahead
shlomi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I'm (still) using TOMCAT Version 3.1. I'd like to change the port for my
servlets and JSP-pages from 8080 to 80. Now, I assume you have to change
these settings in the file "server.xml". I have two questions regarding
this file:
1. Why isn't the "server.dtd" used in the "server.xml"? The
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in
win 98)
URL address will be most helpful.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
SUB: How should the CLASSPATH be set for compiling a servlet file
containing BOTH USERDEFINED packages BUILT-IN java packages. (presently
gives compile error with javax.http.servlet not found)
My servelet code is
/*user defined html package saved in c:mypackage*/
import mypackage.html.*;
Hi there,
I'm having a hard time trying to get the mod_jk.so properly built.
My environment is as follows:
* OpenBSD 2.8 Rel. / i386
* JDK 1.1.8 (actually, the FreeBSD port of SUNs JDK)
Please help - after reading through all the dox and mailing lists I'm still
lost.
My only guess is,
Hi,
I am building a system for the Intranet. We have a NT network. I wanted to
know if by any means I can use the username and password that is registered in
the NT Server as the mode of authentication for my site built on Tomcat?
This is possible with the IIS.But I am not sure how it
Hi,
I'm trying to configure apache 1.3.9 and tomcat 3.2 with mod_jk under
Solaris 8. I'm using the example contexts supplied with the
tomcat.
A standalone configuration of tomcat serves the contexts OK as does tomcat
with apache using mod_jserv. However, I
can't get jsps to run using
Hi Guys,
In the EJB Specification there is a way of specifying a global datasource
for all applications. This can be looked up using JNI. Is there something
similar in tomcat, can I define a datasource that all applications can use,
or do I need to write my own property file or something?
Hi,
We had the same problem and solved it by copying the tools.jar into
$TOMCAT_HOME/lib.
BTW: dont use the Hotspot-Engine with -server Parameter it would
crash at sometime with signal 11, it is a bug, use -client Parameter.
regards, tom
-Ursprngliche Nachricht-
Von: Eoin McCarthy
I developed some servlets and I didn't restarted Tomcat each time. I thing
you can simply put the new servlets over the oldest ones and then try
them.
Hope this helps.
Robuschi Roberto Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932474 Fax 0521/989045
[EMAIL
Hi,
I have problem during the start of TomCat
server
tomcat start
After few seccond, TomCut write some errors on the
screen and then that window desappear. I can not see what is the problem. My
question is: Can I see log of those errors???
Thanks!!!
It is very often due to the fact you forgot to set the
environement variables TOMCAT_HOME ant JAVA_HOME in the startup.bat
file.
Or maybe if you use Apache as a static page web server,
the line used to include the Tomcat.conf file is not well
written.
-Original Message-From:
I already had this problem. are you using version 3.1 or 3.0 ?
If you're, you can try restarting the PC if it is the same, reinstall
Java
Bye
Robuschi Roberto Delfi srl
P.za Ravenet 1/b - 43100 PARMA
Tel. 0521/932474 Fax 0521/989045
[EMAIL PROTECTED] ---
Tomcat is working OK. The problem is in deploying
some my application. I want to se error log file, to corect errors in my
application.
- Original Message -
From:
Xavier
To: [EMAIL PROTECTED]
Sent: Monday, February 05, 2001
12:27
Subject: RE: Logging errors on
v3.2
Tomcat is working OK. The problem is in deploying some my application. I
want to se error log file, to corect errors in my application.
Thanks !!!
- Original Message -
From: "Robuschi (Delfi)" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 12:26
Subject:
Use
tomcat
run
instead.
That
way, it will execute in your local window instead of spaawning a new one, and
you will see the messages in your window after java exits.
-Original Message-From: Xavier
[mailto:[EMAIL PROTECTED]]Sent: Monday, February 05, 2001 11:28
AMTo:
My servlet won't stay loaded. Is there a default time limit for
unused servlets? If so, how can I override it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
Hi,
Just tried this. Unfortunately, it didn't work - java/lib/tools.jar was
already on the classpath
on startup and copying it to $TOMCAT_HOME/lib didn't have any effect.
Thanks,
EOin
-Original Message-
From: Thomas Bezdicek [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001
Actually, this month's Linux magazine talks about using PAM for user
authentication (article on PAM and Samba for Win integration). It basically
is aa Apache module that lets you authenticate users against a PDC (I
believe), you'll need to look into it as I don't know enough about it to
give
Hi All,
I am developing web applications using servlets, Rmi, Sql-server and
Tomcat in Apache web server under Linux platform. I would like to use SSL. Can
any body tell that where can i get SSL for tomcat. How can i do it using
Tomcat..
Thanks in advance...
cheers
Venkateh
R N Mukherjee wrote:
SUB: is TOMCAT is a JSP ENGINE + SERVELET ENGINE or ONLY A JSP ENGINE.??
If it is JSP + Servelets then why we have to run JSDK for testing the JSP
files.?
You should totally remove all traces of JSDK library from your system
because the jsdk.jar library
see server.xml in tomcat/conf
:add
path="logs/tomcat.log"
to Logger name="tc_log"...
Dusan Petrovic wrote:
Hi,I have problem during the start of TomCat servertomcat start After few seccond,
TomCut write some errors on the screen and then that window desappear. I can not see
what is the
Hi everyone.
I've a question:
in my web.xml I have a lot of servlets that use the same set of parameters
(same param name, same param value). The value of these parameters could
change a lot of time in a month so:
there's a way to write only one set of param name / param value and call it
in all
Hi,I have problem during the start of TomCat servertomcat start After few
seccond, TomCut write some errors on the screen and then that window
desappear. I can not see what is the problem. My question is: Can I see log
of those errors??? Thanks!!!
If you are using NT or 2000 Windows Os try
browse the archive those recent days/weeks
the secret are:
it is advised to use apache with openssl (mod_ssl or apache+ssl)
as the SSL processor and just configure it
to delegate servlet and JSP to tomcat...
look at http://www.modssl.org/
or http://www.apache-ssl.org/
for explanations,
Or you simply add the "pause" command at the end of the .bat file ...
-Original Message-
From: Gallicus [mailto:[EMAIL PROTECTED]]
Sent: lundi 5 fvrier 2001 13:25
To: [EMAIL PROTECTED]
Subject: Re: Logging errors on Tomcat Startup
Hi,I have problem during the start of TomCat
Try this for each of your servlets:
servlet
.
param-nameproperties/param-name
param-valueWEB-INF/servlet.properties/param-value
/servlet
where servlet.properties contains all the params required by your servlets.
- Original Message -
From: "Alberto" [EMAIL
I just installed Tomcat 3.2 on Apache 1.3.14. Installed like a
charm, all I had to do was restart both services and Apcahe was feeding
up the static stuff and Tomcat the JSP/JavaServlets.
For the last few days I've been thrying to comprehend the "User's
Guide"... Maybe its just me...
Alberto wrote:
Hi everyone.
I've a question:
in my web.xml I have a lot of servlets that use the same set of parameters
(same param name, same param value). The value of these parameters could
change a lot of time in a month so:
there's a way to write only one set of param name / param
My servlet won't stay loaded. Is there a default time limit for
unused servlets? If so, how can I override it.
Are you sure that's what's happening? Try putting a debug
output line in your servlets init() method to make sure that
it is actually getting reloaded.
---
Michael Wentzel
Title: configurable params in server.xml and/or web.xml
I'd like to add some configurable parameters for an interceptor in server.xml. Do you just have to write get/set methods for that variable and add the parameters as is done with JDBCRealm (below)?
RequestInterceptor
SUB: How should the CLASSPATH be set for compiling a servlet file
containing BOTH USERDEFINED packages BUILT-IN java packages. (presently
gives compile error with javax.http.servlet not found)
My servelet code is
/*user defined html package saved in c:mypackage*/
import mypackage.html.*;
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat connectin in
win 98)
URL address will be most helpful.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat
connectin in
win 98)
URL address will be most helpful.
There is no mod_jk.so for win32. A .so is a static library
in linux. Should be a dll you're looking for.
---
Michael Wentzel
Software Developer
A
I'm experiencing some stability problems with my Tomcat setup:
Linux 2.2.18
IBM JDK 1.3
Tomcat 3.2.1
What do these messages mean in tomcat.log, verbosity=INFORMATION:
2001-01-31 08:45:55 - Ctx( ): 400 R( /) null
This one is pretty common, and there are also some of
better use
?xml version="1.0" encoding="ISO-8859-1"?
!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"
web-app
context-param
param-nameproxy_server/param-name
Michael:
I have a database connection pool servlet which loads on startup. It
works fine, but if I don't give it a workout on my test site often
enough, it disappears. I suspect Tomcat destroys idle servlets after a
certain time has elapsed, but I can't find documentation on this. I
If you are on Windows, try the
following.
See the log files
Start tomcat from the DOS window with the following
command that saves the output to a file
tomcat run tomcat.out 21
tomcat.out contains the error log. Use your
favorite editor (emacs! :-)) to look at the log.
- Original
Use the -S switch to apxs:
-S CFLAGS=-DSTDAPI
You probably will also need to specify:
-S CFLAGS=-DMOD_PERL -S CFLAGS=-DUSE_EXPAT -S CFLAGS=-O
(which apxs otherwise would set by default).
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
XML Technology Center
In the standard downloads directory, ie:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i386/mod_jk.dll
Hope this helps,
Steve
On Mon, 5 Feb 2001, Michael Wentzel wrote:
SUB:Where is mod_jk.so for WIN32?(required for apache-tomcat
connectin in
win 98)
URL
Tomcat is Jsp engine + Servlet engine + light Web server.
Jsp/Servlet engine for dynamic pages publishing.
light Web Server for static pages publishing as a Apache replacement for
test purpose.
Forget all about Jsdk and replace/add servlet.jar to your Classpath.
-Original Message-
Hi
I read thru the tomcat documentation and this is what i understood.
Please correct me if there is any problem.
we are running
OS -R H LINUX 6.2
WebServer - Apache 1.3.14
Tomcat -3.2.1
and I
1. Copied the tomcat directory to /usr/
2. Since libexec directory was not there for apache
Hi, guys,
What is a HTTP 400 status/error? I'm seeing a lot of these in my tomcat.log:
2001-02-05 01:27:17 - Ctx( ): 400 R( /) null
Regards,
--
Rogrio Meneguelli Gatto | ICQ# 25775025
Analista de Sistemas Pleno | +55 19 3254-6518 ext 223
Software Design Informtica |
Error Message: HTTP/1.1 Error 400 - Bad Request
The information in this article applies to:
Microsoft Internet Information Services version 5.0
It's true.
Original Message
On 2/2/01, 5:45:09 PM, "Geoff Lane" [EMAIL PROTECTED] wrote regarding
Re: performance:
I think it's only for Linux (and AIX) - good reason to switch. :)
More info is available at: http://www.alphaworks.ibm.com/tech
Todd Carmichael wrote:
Running Windows
The attached message has had some or all attachments deleted because of the following
reason:
Message contains attachments: Q148942.url
Additional Information:
none
Error Message: HTTP/1.1 Error 400 - Bad Request
Hello,
Where can I get a list of configuration options for mod_jk.so?
Is there any documentation on the ajp12 and ajp13?
Jody Brownell
Product Development
Core Networks Inc.
P: (902) 481-5750, ext. 2132
F: (902) 481-5799
[EMAIL PROTECTED]
CoreOS - Broadband Provisioning System -
Rogrio Meneguelli Gatto wrote:
Hi, guys,
What is a HTTP 400 status/error? I'm seeing a lot of these in my tomcat.log:
2001-02-05 01:27:17 - Ctx( ): 400 R( /) null
Look in the Tomcat \webapps\ROOT\docs\api Javadocs
for the HttpServletResponse class documentation - there
you will
Hello,
I have configured with OpenSSL (to Tomcat directly), made a key, etc. Now
I can have a secure connections to my server, but browsers complains that
my
certificate isn't good, not signed, not knows, etc. Seems that browsers
have to problems with Verisign or RSA (?) certificates, which
Look on OpenSSL.org or Apache-SSL.org, or do search for SSL on apache.org
web server.
Original Message
On 2/5/01, 3:49:47 AM, venkatesan [EMAIL PROTECTED] wrote regarding
SSL Help:
Hi All,
I am developing web applications using servlets, Rmi, Sql-server
and
Tomcat in Apache
Take a look at www.modssl.org.
There is allready done RPM for Redhat
On ne peut rsoudre les problmes les plus graves avec le mme esprit qui
les a cres.
-- Albert Einstein
-Original Message-
From: John Golubenko [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 5:17 PM
To:
Hi,
I'm working on a project where I'm going to use a MySQL JDBC connection. I
noticed in the server.xml something called a JDBCRealm.
I was unable to find any any documentation about the JDBCRealm. Is this
something I should use? How will I access the database if I use it? Is
there any
A JDBC Realm baiscally is your tomcat-users.xml file in a database.
Look in:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto
Tomcat4 and tomcat 3.x allow realms per Context.
Wilko
Vegard Skjefstad [EMAIL PROTECTED] on 05-02-2001 17:07:35
Please respond to
Hi,
I want to use Apache and Tomcat together. However, I need to build Apache
statically due to a thread problem with the OCI library. Hence my question:
Is it possible to compile mod_jk and link it statically with Apache instead
of using DSO's. I am particularily interested in mod_jk because it
http://w6.metronet.com/~wjm/tomcat/2000/Sep/msg00794.html
On Mon, 5 Feb 2001, Rouiller Samuel wrote:
Hi,
I want to use Apache and Tomcat together. However, I need to build Apache
statically due to a thread problem with the OCI library. Hence my question:
Is it possible to compile mod_jk
Is there a policy in Tomcat/Apache for destroying servlets when resources are
tight? And, if so, can the installer control the policy?
Regards
Tony
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email:
I have set up two contexts. One runs from webapps/ROOT, the other from
webapps/test. The contexts appear to be set up correctly. My application
runs fine from webapps/ROOT. The problem is running from webapps/test. The
main servlet calls JSP pages, which redirect to the main servlet again. The
Not exactly a Tomcat issue, but it's in the web world of Java servlets:
Does anybody have any code samples that would demonstrate an HTTP POST (I'll
use JSSE and really do an HTTPS POST, but I suspect the code will be the
same or very similar)? I've seen URL class code that does a GET, but
Well, do you mean POST from web-form? Then it would be:
form name="posttest" action="http://server/servlet/ServletName"
method="POST"
Name: input type="text" name="name"
input type="submit"
/form
If you asking how to handle POST's from a servlet, it would be:
import javax.servlet.*;
import
The JDBCRealm is used only for authentication of users. If you want
to access the database for you rown purposes, this will not help you
;-)
Scott Sanders
- Original Message -
From: "Vegard Skjefstad" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 8:07 AM
Oh... PrintWriter out = response.getWriter() not res.getWriter(), also
it's not tested :)
Original Message
On 2/5/01, 9:46:50 AM, "John Golubenko" [EMAIL PROTECTED]
wrote regarding Re: Off topic - HTTP POST example?:
Well, do you mean POST from web-form? Then it would be:
form
Title: A JSP/Jasper question
The servlet spec defines that request.getParameter() returns null if the parameter wasn't passed to the page. However, it would appear that Jasper chokes on this case. Since JSPs are an extension to servlets shouldn't the behavior be the same? If I hacked the URL
This error message is about a badly formatted JSP page at line 13,
column 51 (or is it line 51, column 13 - I never can remember). Apparently
Jasper doesn't like your variable firstname. Without seeing your code its
difficult to guess the cause of this, but its probably because you
Well, do you mean POST from web-form? Then it would be:
form name="posttest" action="http://server/servlet/ServletName"
method="POST"
Name: input type="text" name="name"
input type="submit"
/form
Not, that was not my question. I understand how to do a regular POST from a
web browser and
Title: Re: A JSP/Jasper question
I guess it's depends how you do it. I've lots of interesting things
going on when I check for params in JSP pages. But if you pass
'request' object to JavaBean || Servlet for confirmation || testing ||
reading || etc, it seemsworks nicely.
Original Message
can anybody say me how limit the tomcat process number to 15 in a linux?
in my linux tehere are a lot of threads
thanks
Carlos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
On Mon, 5 Feb 2001, Carlos wrote:
can anybody say me how limit the tomcat process number to 15 in a linux?
in my linux tehere are a lot of threads
thanks
Carlos
The processes you see are in fact just threads, and are apparently just an
annoying side-effect of the (current?) Linux threads
For the password you need to go into the tomcat-user.xml file and create a password
and user for the admin role.
it's pretty straight forward but just in case put in a line like
user name="tomcat" password="tomcat" roles="admin" /
roles corresponds to the realm .
BTW tomcat-user.xml
Hello,
I tried to post the following to the soap.apache list with no luck,
You are my last hope :) When using tomcat(3.2.1) to serve soap requests
everything works
fine. When apache(1.3.17) is added to the picture I get the follwing stack
dump.
Is it possible that mod_jk.so is stripping
I understand tomcat3.2.1 supports the Apache JServ style load-balancing via
mod_jserv. Does anyone know if the same is true when using mod_jk instead
of mod_jserv? Any advice on how to setup load balancing with Tomcat3.2.1
and Apache (mod_jk) is appreciated.
Thanks,
Wei Wu
WRLC
Thanks for answering my question. My web.xml file is in Web-inf
directory or at the same level as my classes and lib directory. I
posted another message with more information. Do you see any problems?
thanks a million.
Thank you, I'll give that a go.
Stefan Langer wrote:
For the password you need to go into the tomcat-user.xml file and create a password
and user for the admin role.
it's pretty straight forward but just in case put in a line like
user name="tomcat" password="tomcat" roles="admin" /
I'm currently running apache + mod_jk + tomcat.
I put all my servlets in /usr/java/tomcat/webapps/ROOT/web-inf/classes/
I put all my jsp files in /usr/java/tomcat/webapps/ROOT/
When i goto my domain I goto www.domain.com/servlet and it reads the
servlets dir
When I goto my domain I goto
IBM does have a 1.3 for Intel and it is quite fast (faster than sun's
hotspot in my tests).
(You need to register with IBM to get in.
http://www6.software.ibm.com/dl/wspt/priv/wspt-h?S_PKG=pretechww
-Original Message-
From: John Golubenko [mailto:[EMAIL PROTECTED]]
Sent: Monday,
A small error in the Tomcat 3.2 (Win32) jsp sample application.
This note relates to the Tomcat 3.2 sample application,
Which is shiped with Tomcat 3.2 (win32) and placed at
%TOMCAT_HOME%\doc\appdev\sample\
If someone will try to use the sample as a base for his own project
he can
Hello,
Do you have a list of companies who are using the Apache/Tomcat
configuration in their production environment? I would like to find some
references at the technical and executive level.
Thank you,
---
Mike Glose
Unix System Administration
Requisite Technology 303-474-8146
Cell
The attached message has had some or all attachments deleted because of the following
reason:
Message contains attachments: build.bat
Additional Information:
none
A small error in the Tomcat 3.2 (Win32) jsp sample application.
This note relates to the Tomcat 3.2 sample application,
Which
Easy. Edit 2 files.
First under
%TOMCAT_HOME%/conf/server.xml
In ContextManager (you'll see similar stuff)
put this:
Context path="/path_after_domain"
docBase="/www/world"
crossContext="false"
debug = "0" !-- 0 to 9 --
Hello,
I have a JSP based application for which the JSP files reside in directory
C:\tomcat\jakarta-tomcat\webapps\myapp.
One of the JSP files is trying to open a config file configs.xml which also
is present that directory. The JSP code is using
request.getRealPath("configs.xml") which
I have Apache 1.3.12 web server, ApacheJserv 1.1 running through NT
server 4.0.
I did installed the trial CD JBuilder 4
Enterprise (to use it as a JAVA development tool).
I have been told that "Tomcat" is used as the web server in JBuilder.
I Do not know which specific
This may be more of a developer question, but the guidelines seem to
discourage non-developers from posting to the developer list, so I apologize
if this is the wrong place.
I don't know if any of you out there are using interbase with Tomcat 3.2.1,
but I'm attempting to do so.
I'm curious
I would like to leave my oracle database connection open from one page to
another within a session - is that possible? Is it possible to pool one
connection for the entire webserver? If so, how? Thanks.
-
To unsubscribe,
Write a connectionpool as a bean and give it the scope of application.
-Original Message-
From: John Coonrod [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:19 PM
To: [EMAIL PROTECTED]
Subject: Speeding up database accesses
I would like to leave my oracle database
One possibility (altough a bad idea) is to stick it into your
session.
Another possibility is to create an object that has a static
variable for the Connection. Then provide methods to access it. Remember
that you need to make sure only one thing at a time is using the
While there are connection pools (I have not used them but others on the
list can point you to them), I find the easiest solution is a session
variable. Then make a function you can call with the session and db
connection info. The function checks the session for the DB varaible. If
it's not
Whoops! Over my head! Where would I learn more about how to do this?
= Original Message from [EMAIL PROTECTED] at 2/05/01 4:27
pm
Write a connectionpool as a bean and give it the scope of application.
-
To unsubscribe,
Ok I did you said and it worked great thanks, but now how about.
i have www.domain1.com:8080 and www.domain2.com:8080 and I want
domain1.com:8080 servlets to be in /www/domain1/servlets/Hello.class
(www.domain1.com:8080/servlets/Hello)
domain2.com:8080 servlets to be in
The following book helps, I think.
http://www.amazon.com/exec/obidos/ASIN/1884777996/qid=981408589/sr=2-2/ref=s
c_b_2/107-2595562-5791743
-Original Message-
From: John Coonrod [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:27 PM
To: [EMAIL PROTECTED]
Subject: RE: Speeding
Sure it possible. For the page for example, at least you can do is
use
---
%@ page import="java.sql.*" %
%!
Connection conn;
PreparedStatement stmt;
%
%!
public void jspInit() {
try {
String url
Is that normal for Tomcat? I expect to get something from getPathInfo when I have a
servlet called as a page include. BTW can I expect a session sharing for such servlet
and wrapper JSP?
Thanks,
Dmitry R., [EMAIL PROTECTED]
Chief Architect, MetricStream.COM
Santa Clara, CA
Why is it a bad idea to use a session variable?
-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 3:52 PM
To: [EMAIL PROTECTED]
Subject: RE: Speeding up database accesses
One possibility (altough a bad idea) is to stick it into
Doing this way you have a large amount of open connection. They stay opened
until timeout because you don't know, when the user closes his browser.
So I think it's better having a connection-pool managing the DB-connection.
You could implement that using a singleton-pattern.
Ralph
I think tomcat's getPathInfo is a little wierd. The behavior when you have
bound a servlet to a url is to move what you would expect to be in
getPathInfo() into getServletPath() . Included pages might be getting
handled the same as "mapped" ones, in which case you could be experiencing
the same
For one reason you are going to have a connection dedicated
to that session even if it isn't using it, so you will
have one connection per session when you really only need
one connection per use which is likely to be MUCH smaller, especially
considering the session doesn't die until
I hate it when other people beat me to the responses
Basically, yes. Another reason is that some of the JDBC drivers
taht I have worked with don't behave properly when garbage collected.
Therefore, when the session dies, the Connection would die a
garbage-collected death,
Hi,
I am migrating a tested working project from window platform onto our new
Linux environment. Apache/Tomcat/Iprise appServer are the same on both
platforms. Now I am getting the following error from inside Appache/Tomcat
when running the app on Linux, which I didn't get when I run it on
Hi,
I would like to pass an xml string as a parameter to a servlet.
I tried
init-param
param-namefoo/param-name
param-value
xml
param
/param
/xml
/param-value
but this does not
Hi,
I'm trying to connect my Apache from one machine to
my JBoss-Tomcat Applicationserver on another
machine, both under Windows 2000.
How do I do it?
They are both running by them self but when I try
to call the login.jsp site I cant connect...
I've been trying to configure Apache and
1 - 100 of 134 matches
Mail list logo