Hi,
I have a NullPointerException when I try to use getAttribute method in
HttpSession class.
java.lang.NullPointerException:
at
org.apache.tomcat.facade.HttpSessionFacade.getAttribute(HttpSessionFacade.ja
va:162)
It seems that realSession in HttpSessionFacade class is null. why???
Hi,
I try Apache+Tomcat on a linux Platform (RedHat) using jk1.2.2, JSDK2.1,
JSP1.1 and
compare with Apache+Jserv(jdk1.3, JSDK2.0) and it seems tomcat+apache is
slower than Apache+JServ
Is it a configuration problem?
Thanks in advance.
Franck
Sorry for this late answer but my company was moving.
I think you have now the answer.
As far as I remember DSO modules are modules that are loaded dynamically. This
allows to add or remove a module without stopping
apache.
mod_jk is a DSO module.
To compile apache with DSO I am using
Hi all
We have been using Tomcat for 4 months now without noticeable problems, but
recently the error message shown below has started to appear in our
development when starting Tomcat.
2001-03-15 09:32:02 - Ctx( /bygnet ): Exception in: R( /bygnet +
/servlet/BygNetServlet + null) -
Hi all!
A lot of people has been having problems with Tomcat 3.2, classloaders,
jndi, jndi.properties, rmi and stubs when trying to call ejbs from Tomcat in
a different JVM. The problem is simple: because jndi and rmi classes are
loaded by the system (or bootstrap, I can't remember it but it
I have installed Tomcat to my linux machine and I'm having this problem: How do I
setup the path of my JSP? I tried to put my JSP to /path/to/tomcat/webapps/myjsp but i
got the error "404 Error" it looks like he cannot see my JSP and when I look at the
logs, he is pointing to
I am using the com.javaexchange.dbConnectionBrocker package. It's simple, free
and does the trick.
Wilko
"Guilherme Zambon" [EMAIL PROTECTED] on 15-03-2001 02:29:03
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED], jos placide [EMAIL PROTECTED]
cc:(bcc: Wilko
"TAI Wai Wang, Leo" wrote:
Hi! Have u tried to test the AuthBean independently? Does the bean try to
cast one object to another object? I think, there are some problems in your
beam when casting. Try to modify the classes relationship, eg: one class is
the superclass of another. It may be
Hello world :)
We're running a JSP application, and upgraded our plattform from
Tomcat 3.1 to 3.2.1, and we're running into a 'open files' problem. The
symptom is: it runs for a while, until all available file handles are in
use - which causes the underlaying FeeBSD to refuse
Hi
I'm experiencing a problem using Tomcat 3.2.1 via Apache 1.3.12.
I've wriitten a servlet which works fine when accessed directly in tomcat,
but when the same servlet is accessed via apache using mod_jk I get the
following error.
java.lang.IllegalArgumentException: Short Read
Dear Tomcat-users,
I'm working with Jakarta-Tomcat for a while, and I'd like to post some
questions regarding problems I ran into:
1. At what level should I install the jakarta-filter? In the IIS Management
Console, it is possible to install filters on the level of a single website
or the
Hello ppl,
I've installed Tomcat 4.0b1 and get to run Catalina from
$CATALINA_HOME=../jakarta/build/tomcat-4.0
But I cant get to work http://localhost:8080 ( no exceptions or errors in
/logs .. )
hints?
TIA
-d-
_
Get
Which JVM are you using ? I find that the first load time
dependson the version of JVM, 1.1.6 is versy slow
while 1.3 is much faster.
(note: This is NT2000)
Andy C
Editor R2 Project
http://www.r2-dvd.org
- Original Message -
From: "Fergus Gallagher" [EMAIL PROTECTED]
To: [EMAIL
Thanks to all that tried do help me :). I was really about to live from
Tomcat to another Jsp Runner when I got this problem. I really think Tomcat
needs a internal connection pooling, and I wish someday we will have it!
[ ]'s
Guilherme Zambon
[EMAIL PROTECTED], [EMAIL PROTECTED] - home
[EMAIL
Hi!
Why do you say that it's a ClassCastEXCEPTION ? Hi
habe the same error sometimes when I use tag libraries
in my JSP !
Joel
--- "TAI Wai Wang, Leo" [EMAIL PROTECTED] a crit :
Hi! Have u tried to test the AuthBean independently?
Does the bean try to
cast one object to another object? I
My IIS is serving Norwegian characters well, but tomcat doesn't hadle them.
It chops off the url at the first "illegal" character.
Any suggestions? Is it possible to configure tomcat to handle spesial
characters?
/Tor Einar Solli
I'm not sure, but the work directory is for hold the servlet's that the jsp
generates, that is, before any jsp works, it need to generate a servlet, and
the code of this servlet is hold in work directory.
sincerely,
Zenon Farias Braga F.
From: "Mick Sullivan" [EMAIL PROTECTED]
Hi,
I am facing out of memory problem after continuous access of the tomcat.
I want to set the maximum heap size that can be used by TOMCAT.
what do i need to do for changing the max heap size?
regards,
Bhala
I'm not sure, but every jsp generates a servlet in work directory and these
servlets are erased when you invoke shutdown.sh, thus the simplest thing to
do is to invoke shutdown.sh and then startup.sh, and the second simplest
thing to do is to go to work directory and "rm *".
Tomcat is a Java application like any other so you can change the max heap size
the same as you would for anything else.
For the Sun JDK 1.3 (and probably 1.2) all you have to do is run it like:
java -Xmx128M some.class.to.Run
Just replace the "128M" with the maximum heap size. Type
THIS IS NOT CORRECT. Tomcat was looking for the class
jsp.dates.DBWriter in its classpath - WEB-INF/classes, one of the JAR files
in WEB-INF/lib, one of the JAR files in TOMCAT_HOME/lib, or somewhere in the
classpath Tomcat was started with. TOMCAT WILL NEVER LOOK FOR CLASSES
RELATIVE
Hi All,
I have tomcat which i am starting everytime by typing
/bin/startup.sh and closing by ..bin/shutdown.sh. manually. Tomcat
is running with Apache in my Linux system. Can anybody know how Apache
web server will start tomcat automatically when it starts and shutdown
while it stops.
Hi everybody,
i have one simple doubt. Tomcat has always been known as a jsp/servlet
engine, instead of a jsp/servlet application server. Why? The basic concept
of application server should be applied to Tomcat, since it supports
information systems. Am i right?
Regards,
Jos Euclides Jnior
Hi,
I think you'll have to create a general startup script. The script starts
Tomcat first and, if the auto-conf file is generated, starts Apache
afterwards. I don't have much experience in scripting in Linux, but this is
how I do it on Windows NT.
startup.bat:
@echo off
set
venkatesan wrote:
Hi All,
I have tomcat which i am starting everytime by typing
/bin/startup.sh and closing by ..bin/shutdown.sh. manually. Tomcat
is running with Apache in my Linux system. Can anybody know how Apache
web server will start tomcat automatically when it starts and
You are absolutly right. I realized my mistake and took the edit I made out
of the script. Restarted tomcat, restarted apache and I get the same error
as before. Now I am just trying to get tomcat to answer on port 8080, and
it won't do that. So again I believe that I have some configuration
Despite following the advice provided in previous posts, I still seem to be
unable to debug my own servlets in VisualAge 3.5.
I have installed the Tomcat Environment with VA by following Sheldon Wosnick's
articles and can successfully debug the Tomcat examples (as well as my own
code that was
Alexander,
I would suggest that you have a couple of options here:
1) HttpServletRequest has the following methods getRealPath() and
getTranslatedPath(). You could use these to get the path to you application
directory structure.
2) Lookup the context attribute
I sent this yesterday but, I don't see it on the list today so I'm sending
it again
-Original Message-
From: Ben Sifuentes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 5:02 PM
To: [EMAIL PROTECTED]
Subject: Tomcat configuration questions?
Currently my Apache is servicing
Andrew,
I had commented out the portion of the connector8080 in the
server.xml file. I uncommented it, shutdown apache, shutdown tomcat,
restarted tomcat, restarted apache and now the servlets work on port 8080,
but not on port 8007 through apache. So I am getting closer.
Thanks,
Ken
Hi Ken,
Have you ever got rid of the initial rogue process running on
port 8007? You'll certainly get this error until you do whether running
tomcat standalone or not with your current config.
I'd shutdown everything, make sure no longer have the connector
running on 8007 before trying again.
i've been having the same problem.
i didn't find a solution yet
thanks
-Original Message-
From: Zhengan Cai [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 11:51 PM
To: [EMAIL PROTECTED]
Subject: Servlet path configuration in Tomcat/Apache
Dear Sir/Madam:
I have installed
On Thu, 15 Mar 2001, Andy C wrote:
- Original Message -
From: "Christopher J Cowan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 14, 2001 11:27 PM
Subject: RE: 'work' Folder--help??
I thought the work folder is for intermediate files used by
Tomcat... as
Andrew,
I checked it out using fuser 8007/tcp with tomcat shutdown and
started and I only get the pid's of the processes associated with tomcat
when it is started. I get nothing when it is shutdown. So I am confident
that there is no other process running on 8007. I must believe that
When you type in the ip address, I believe you will have to follow it with
the port number that tomcat is listening on, like
http://127.0.0.1:8080/index.html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 10:18 AM
To: [EMAIL
If the machine name works does "http://127.0.0.1/example/jsp/index.html"
work? Otherwise I'd suggest specifying the port (8080) unless you're running
Apache, this way "http://192.168.167.2:8080/example/jsp/index.html"
hope that helps,
Abe
-Original Message-
From: [EMAIL PROTECTED]
This may be off the subject, but I am unable to run any JSPs on
tomcat/apache/solaris. Could that be because the work folder must have write
permissions for everyone ... ?
"Andy C" [EMAIL PROTECTED] on 03/15/2001 02:14:29 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
you can edit the hosts file under the C:\WINNT\system32\drivers\etc
directory, like:
200.56.130.196 hostnam_of_your_machine
and put the hostname_of_your_machine in the ServerName directive like
this:
ServerName hostname_of_your_machine
and u can use the directive NameVirtualHost 192.168.167.2
Hello Vladimir,
Thank you for your help with classloaders. :)
I tried to put my "shared" classes in the classpath. But this approach
failed too. I cannot understand.
In this case my "shared" classes loaded by "Bootstrap class loader
(Java system classes)" and in case any references to them
Hi all,
I have a server running Apache 1.3.14 together with Tomcat 3.2.1 on a
Windows NT 4.0 box . On this server there are some Java programs running,
say ProgA and ProgB. If ProgA crashes than someone has to go to the server
and execute the startProgA.bat to restart the Java process. Same
Hello,
I posted this message yesterday, but I have not received any responses. If you
have any information I would greatly appreciate it.
Thanks in advance.
I recently installed Tomcat (via mod_jk) on apache 1.3.14 on a Solaris machine.
The java_home and tomcat_home classpaths are set in
I ran into the same problem and found the only good solution was to take
a look at my custom classes and strip away what was "custom" about them
and only save core Java objects to the context. When I need my custom
class, I create an instance of it and pass the references to the core
Java
Starting processes are easy - just use Runtime.exec. The problem
might be detecting when to start them. My suggestion would be to not have
them run as services, but have your servlet start them. Then when your
sevlet detects they stop (there's a method in Process class to determine it
Hi. I was doing some testing on virtual host with different ip addresses in
tomcat. I was wondering how can I set the path for jsp and servlets like :
/usr/local/jakarta-tomcat-3.2/webapps/examples/WEB-INF/classes
I have implemented a virtual host with docBase /usr/home/test/www/servlets.
If I
I'm stumped.
I call an xslt servlet (that returns formatted html output to the JSP
response Writer) via a jsp:include action from a jsp page,
xsltTransform.jsp.
If I put the same xsltTransform.jsp page in different Tomcat web application
directories, in one it runs, in another I get a "Response
Hello Allen,
Thursday, March 15, 2001, 10:52:00 AM, you wrote:
AA I ran into the same problem and found the only good solution was to take
AA a look at my custom classes and strip away what was "custom" about them
AA and only save core Java objects to the context. When I need my custom
AA
Okay,
now I've found out that this
Ctx( ): 400 R( /) null
means my Browser sent a "bad request" to Tomcat.
Is there any possibility to find out some more details
about this bad request?
My problem was that the problem only occured when
sending a request from a Linux client to a WinNT4.0
Tomcat
While trying to compile mod_jserv.so for apache, I get the following errors.
[root@webservices jserv]# /usr/bin/apache/bin/apxs -i -a -c mod_jserv.c
gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
-I/usr/bin/apache/include -c mod_jserv.c
-o mod_jserv.so mod_jserv.o
Hi. I was doing some testing on virtual host with different ip addresses in
tomcat. I was wondering how can I set the path for jsp and servlets like :
/usr/local/jakarta-tomcat-3.2/webapps/examples/WEB-INF/classes
I have implemented a virtual host with docBase /usr/home/test/www/servlets.
If I
Hi Guys
I've got my Java 1.3 SDK installed in this
directory on my Windows 2000 Server,
c:\Installations\Programming\Java\SDK
1.3\
The space in "SDK 1.3" gave your Tomcat problems
when I set Tomcat up to be an NT service and tried to use start it with "net
start Tomcat".
When I change
Are you by any chance using Apache 1.3.14? If so, then upgrade to 1.3.19 - I
had
an apxs problem that went away when I did this.
Steve Prior
"Reeves, Kenneth" wrote:
While trying to compile mod_jserv.so for apache, I get the following errors.
[root@webservices jserv]#
Carlos,
Thanks. This is interesting. Can you explain what the effect of
Thread.setContextClassLoader() is? Does it make classes from the
WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by
the boot class or system class loader?
Andrew
-Original Message-
From: Carlos
http://developer.java.sun.com/developer/technicalArticles/RMI/rmi/
- Original Message -
From: "Adam Fowler" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 15, 2001 3:00 AM
Subject: RE: Applet-servlet communication examples???
I second that question
I don't see how this would work... It doesn't matter what stores, it matters
what creates them... Probably, Context uses some sort of Hashtable
internally to store all objects, which is a core class by itself, and it
doesn't help the problem. So, I don't get
it. May be you can give more details?
Hi :-) please see intermixed
Andrey Myatlyuk wrote:
Hello Vladimir,
Thank you for your help with classloaders. :)
I tried to put my "shared" classes in the classpath. But this approach
failed too. I cannot understand.
In this case my "shared" classes loaded by "Bootstrap class loader
I've seen this before, but don't recall the particular solution.
Are you sure you have DSO support in apache?
# /usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
mod_so.c should be there.
Maybe a search of the list archive would turn something up.
Mike.
--
Mike
Hello, I´ve installed Tomcat on Windows NT and it runs
when I use the name of the machine in the URL
(example: "http://server/example/jsp/index.html"), it
doesn´t run when I use the internal or external IP (e:
"http://192.168.167.2/example/jsp/index.html" or
Ken,
Only ever tried with mod_jserv.so but probably you should use
mod_jk. There are many, many posts about building mod_jk on this
list so if you go this way look at the archives. Was your apache built
with DSO support? If so then command in the minimilist guide
apxs -c -o mod_jserv.so *.c
What you describe should work... Unless Tomcat web-app CL doesn't
adhere to standard CL delegation rules. Where did you put your classes?
I think $TOMCAT_HOME/classes is automatically appended to system classpath
by startup script.
I don't think _bootstrap_ CL is the one
that's loading classes if
I had a similar problem once. Did you use apxs to compile the mod_jk? If so
check that all the required libraries can be located for linking. My problem
was that java was not installed in the default location and no relevant
error appeared.
Alan
-Original Message-
From: Mike Braden
Hi all,
I was hoping someone might shed a little light as to what is going on
with the problem i'm having. In a nutshell i use a servlet buried somewhere
in a package which i access by com.mycompany.someplace.servletname
The servlet itself uses a bunch of other class files located in a
I've been playing heavily with Turbine the last week (best Spring Break
Ever :). to me it doesn't appear that Torques supports InstantDB. Is
this true? or am I missing something? Can somebody please point me in
the right direction. I'm having a lot of problems building a peer
turbine app
Has anybody out there managed to get a servlet running via Tomcat to
invoke an EJB living in an Oracle 8i database?
I've read a couple of threads about including all JARs in the Tomcat
classpath, but this seems a bit clunky. Is there a more elegant
solution?
I keep getting a
Does anybody know what could happen if I install
the gcc compiler from www.sunfreeware.com and I've still have
the built-in cc compiler installed? May gcc affect the cc behaivour?
I'm writing this because I have to compile the
mod_jk module and I want the gcc compiler...
thanks!
Martin
Does apache have any type of support for tomcat other than this list ...
I've followed all the documentation, but I cannot run all of the examples.
I am able to run servlets on tomcat but not JSPs. Is this caused by a tomcat
setting or an apache setting?
Details:
- tomcat is running
Michael Stanley wrote:
I've been playing heavily with Turbine the last week (best Spring Break
Ever :). to me it doesn't appear that Torques supports InstantDB. Is
this true? or am I missing something? Can somebody please point me in
the right direction. I'm having a lot of problems
Hello Vladimir,
Thursday, March 15, 2001, 12:25:24 PM, you wrote:
VG What you describe should work... Unless Tomcat web-app CL doesn't
VG adhere to standard CL delegation rules. Where did you put your classes?
VG I think $TOMCAT_HOME/classes is automatically appended to system classpath
VG by
Eduardo,
Thanks for the clarification.
I tried adding the "Filter DLLs" key and removing the ISAPI filter in
IIS, but then when I tried to access
http://localhost/examples/jsp/index.html, I was prompted to log in. If
I changed the web site's authentication to only "anonymous" (versus the
You need to make sure that you have both doGet and doPost included. If your
code is all in doGet then just write doPost like below. It calls doGet. I
had this same problem the first time I tried to POST.
public void doPost(HttpServletRequest request, HttpServletResponse
response) throws
here's a JDBC class:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
public class JDBCconn2 extends HttpServlet
{
int iNumCols;
int iNumRows;
PrintWriter out;
Object value[];
String requestParam;
public void
Manish,
you're the best. Thanks for replying.
Unfortunately, I do have an entry for jsp files:
JkMount /*.jsp ajp12
I also have on specifically for the examples context:
JkMount /examples/*.jsp ajp12
I did not add these. They were in there originally.
Any other suggestions are welcome.
do a:
response.setContentType("text/plain");
that should do it.
-Original Message-
From: Boon Yeo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: .txt as plain text
I don't know whether this is an Apache, Tomcat, or the
browser issue.
There is no problem running both compilers, one does not affect the other.
GCC is installed in a completly different directory and does not impact
either the generic (broken) Sun cc or the SunPro C compiler.
On Thu, 15 Mar 2001, Martin Mauri wrote:
Does anybody know what could happen if I
Andrey Myatlyuk wrote:
[...]
I have my StatesBean loaded by SystemClassLoader. OK.
MyServlet by WebAppLoader. Good.
So when WebAppLoader reloads my servlet it should ask its parents
about loaded class. Ang guess what? StatesBean loaded already with
SystemClassLoader. What's wrong with it?
Perhaps you need to compile/link with the resolver lib. On Solaris this is
libresolv.so. On FreeBSD it may be some other lib, use the nm command to
dump the lib symbol tables (i.e. nm /usr/lib/lib* | grep "map_nam*") then
add -llibname to the apxs build command.
On Thu, 15 Mar 2001, Mike
On Thu, 15 Mar 2001, Andrew Gilbert wrote:
Carlos,
Thanks. This is interesting. Can you explain what the effect of
Thread.setContextClassLoader() is? Does it make classes from the
WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by
the boot class or system class loader?
On Thu, 15 Mar 2001, Jose Euclides da Silva Junior - DIGR.O wrote:
Hi everybody,
i have one simple doubt. Tomcat has always been known as a jsp/servlet
engine, instead of a jsp/servlet application server. Why? The basic concept
of application server should be applied to Tomcat, since it
I figured it out. It was as I expected, Tomcat needs to have root access so that
it can write to the "work" directory.
This means that only the sys admin. can restart tomcat : (
Just thought I would share this.
thanks,
suha.
[EMAIL PROTECTED] on 03/15/2001 12:19:02 PM
Please respond to
Hi Suha,
I havent read your previous posting on the issue... cause I am a new
member of this mailing list... so could you pls tell me what environment
are you working in. I work in tomcat apache, so I would be of help only
in that area.
Look into the tomcat-apache.conf files if there is an
Hi I am using MySQL and JDBC mm.mysql Driver to connect to the database. I am
having trouble trying to connect. Can anyone tell me if MySQL is even
compatible with servlets? From the JDBC mm.mysql Driver it looks as if it
is. Also in one of the emails I saw a sample script and they used
Hello Bo,
BX * can you post the code of your StatesBean? and
BX the version of TOMCAT? because I also want to
BX know why :-)
Tomcat 3.2.1
--
Best regards,
Andreymailto:[EMAIL PROTECTED]
On Thu, 15 Mar 2001, di man wrote:
Hello ppl,
I've installed Tomcat 4.0b1 and get to run Catalina from
$CATALINA_HOME=../jakarta/build/tomcat-4.0
But I cant get to work http://localhost:8080 ( no exceptions or errors in
/logs .. )
What happens when you try?
hints?
TIA
-d-
BX * is StatesBean.STATES_BEAN_NAME.hashCode() the same one
BX before/after MyServlet reloading?
before:
hash code in state servlet=-24382515
hash code in name servlet=-24382515
hash code in city servlet=-24382515
after:
hash code in state servlet=-24382515
hash code in name
Hi,
whe I try to build the mod_jk module using apxs
over a Solaris 7 with gcc, I get the following error message at the
end:
# apxs -o mod_jk.so -DSOLARIS -I../jk
-I/usr/j2se/include -I/usr/j2se/include/solaris -c *.c ../jk/*.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite
Hi I am using MySQL and JDBC mm.mysql Driver to connect to
the database. I am
having trouble trying to connect. Can anyone tell me if MySQL is even
compatible with servlets? From the JDBC mm.mysql Driver
it looks as if it is.
Yes, it is possible to use MySQL with servlets. Any
I just set up PoolMan, which is working well so far, though it's nowhere
near production. There are a lot of suggestions in the archives, another
one frequently suggested is jdbcpool from
http://www.bitmechanic.com/projects/jdbcpool/. If you would like a quick
primer, let me know, it's quite
Wouldn't you need to insert a line in the batch file like:
if exist "%TOMCAT_HOME%\conf\mod_jk.conf-auto" erase
"%TOMCAT_HOME%\conf\mod_jk.conf-auto"
Before :loop otherwise the batch file as given would only wait the first time
you
ever ran it?
Steve Prior
Kenneth Westelinck wrote:
Hi,
I
Please help me resolve this problem. I've tried comparing generated code to
no avail - the only difference is the package statement.
I call an xslt servlet (that returns formatted html output to the JSP
response Writer) via a jsp:include action from a jsp page,
xsltTransform.jsp.
If I put the
I have tomcat 3.2 running on NT 4 (SP6a) through IIS.
I have multiple websites each with it's IP address and domain names running
in their own context in separate directories
everything is working fine but I have a static connection pool which is
being initialized several times.
my question is,
You can make them visible, but the class from the boot classloader or
system classloader has to know what to do -- it calls
Thread.getContextClassLoader() to get the class loader for the current
thread, and asks *that* classloader to create the new object, instead
of
using the "new" operator.
Firstly I very strongly highly recommend you buy a decent book on servlets with
a section on JDBC
The O'Reilly book Java Servlet Programming - by Jason Hunter is a good one.
On Thu, 15 Mar 2001, you wrote:
Hi I am using MySQL and JDBC mm.mysql Driver to connect to the database. I am
Each webapp / context runs with its own classloader (afaik)
Thats why multiple copies of your class are being loaded.
May be if you used JNDI lookups to get a handle to a
connection pool with that jdbc 2.0 ext stuff ?
Or maybe rmi ? But jdbc conenctions cannot go over rmi :-(
Regards
On Thu, 15 Mar 2001, Andrew Robson wrote:
Firstly I very strongly highly recommend you buy a decent book on
servlets with a section on JDBC
The O'Reilly book Java Servlet Programming - by Jason Hunter is a
good one.
[ ... ]
FWIW, there is a second edition of this book in the works, and
I already got my copy of the 2nd edition from Amazon.com, so I
expect that the book has gone pretty well :-)
Steve Prior
Milt Epstein wrote:
On Thu, 15 Mar 2001, Andrew Robson wrote:
Firstly I very strongly highly recommend you buy a decent book on
servlets with a section on JDBC
The
No, each request is run in its own, separate thread. The reason
that you are probably seeing this pool allocated multiple times is that you
have multiple instances of the same servlet. Why has Tomcat created
multiple instances of the same servlet, you ask? Well, Tomcat will create
an
Still getting the apxs break after an upgrade.
Ken
-Original Message-
From: Steve Prior [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: apxs break
Are you by any chance using Apache 1.3.14? If so, then upgrade to 1.3.19 -
I
had
an
I am using mod_jk/ajp13 with Tomcat 3.2.1 and Apache 1.3.19 to access an
Oracle database via JSP.
It all works fine until I use a LoadRunner to run multiple users. The
application handles between 60-80 concurrent users, but then fails.
I implemented mod_jk as per the mod_jk_how_to
I am installing tomcat to work in conjunction with Windows 2000 server. I
believe I have done all the steps in the documentation for 'Tomcat IIS How
To'. I have verified that things are working by going to the browser on the
server and typing 'localhost/examples/jsp/index.html'. This works fine.
I am using mod_jk/ajp13 with Tomcat 3.2.1 and Apache 1.3.19
to access an Oracle database via JSP.
It all works fine until I use a LoadRunner to run multiple users. The
application handles between 60-80 concurrent users, but then fails.
What happen when you do the same operation with
I was told there's no way to configure it. But tomcat 3.3-m1 seems to set
ajp13 as the default.
On Tue, 13 Mar 2001, [iso-8859-1] Jörg Petschat wrote:
Hallo,
Where can i configure the mod_jk.conf-auto.
Tomcat use only ajp12 in the mod_jk.conf-auto ? Can someone help ?
J Ö R G P E T
1 - 100 of 179 matches
Mail list logo