Hi everyone,
We are doing some stress testing. My problem is that when number of
connections reaches around 940..980, jakarta crashes with following
messages-
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segm
I'm not shure if I unstood your description.
Especially the relation between the jsp and
the servlet.
Is the jsp just a page that holds an anchor
to the servlet, or do you have a jsp that
forwards to a servlet?
If the second option is true, I have no idea.
If the first option is true, this mig
Hi all,
I would like to know if there are special tips&tricks not documented
about installing Tomcat on IIS5 / Win2k; the messages in archive are a
bit puzzling...
Thanks,
--
Laurian Gridinoc
Chief Web Developer
GRAPEFRUIT DESIGN
---
Magic Paul!
Just a correction on the version of Apache we are running - 1.3.12 and still
trialing 1.3.19.
> worker.worker1.host=localhost # never tried a remote machine, but you
Point of confusion
Are you running your tomcats (JVMs) on separate servers ?
If so how do you determine when "lo
Hi,
I need to use XSLT from inside jsp. I decided to go with Xalan/Xerces and
in order to make them work under Tomcat (3.2.2), I replaced jaxp.jar and
parser.jar with xalan.jar and xerces.jar in tomcat's lib
directory. Everything works fine, until in my stylesheets I try to make
use of cus
Fernando,
Why do you need to create the JSP page itself dynamically? Couldn't
you just create one or several JSP pages, then in your servlet, get the
data, put it into request attributes, and call the proper JSP page to
display the data? The JSP page would then take the data from the
request at
On Thu, 9 Aug 2001, Wang, Jianming wrote:
> Hi,
>
> Is there a way to know a resource's absolute URL? I have a image, say
> img1.gif. I want to reference it using
> http://www.something:port/appName/graphics/img1.gif in jsp page. How can I
> get all these information to create the url? I
How can you tell if you have both Apache(1.3.20) and Tomcat(3.2.3) talking
to one another correctly?? I installed everything as per the documentation
on Apache and Tomcat using mod_jk.so and NOT mod_jserv. I am also using the
mod_jk.conf-auto suggestion and made the appropriate changes to do
> From: Francois Bronsard
> ...
> The trace of the session state that authetication was successful,
> yet, the system keeps asking for username and password and finally
> fails. Any idea what could be wrong?
Make sure you comment out SimpleRealm interceptor if you use JDBCRealm.
I accidentally l
Hi,
Is there a way to know a resource's absolute URL? I have a image, say
img1.gif. I want to reference it using
http://www.something:port/appName/graphics/img1.gif in jsp page. How can I
get all these information to create the url? I use tomcat 3.2 and it
doesn't support ServletContext.getS
Hi,
I have been through every document I could find on your site, but I haven't
found what I need yet. Here is what the problem is.
I have set up Tomcat 3.2.3 on my W2K SP2 machine. I have installed IIS 5.0,
and used your document located at
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat
Hi,
it's not good practice since it well be heavy processor load.
Actually JSP being transformed to servlet, and JspServlet forward incoming
request to it. JSP is not an interpriter. JSP page need to be compiled into
servlet each time its (JSP) source changes on disk if it's the first request
to
You have to point a systmwide environment variable to your java installation
directory eg :
JAVA_HOME=/usr/local/java . While you are at it : some of the java software
require jdk_home to be set ;-). Don't point this to the bin directory btw..
just to the root of the installation directory
Hope t
Set the JAVA_HOME variable within the tomcat.bat file. That may be a hack,
but thats the way I did it.
Kyle Wayne Kelly
(504)391-3985
http://www.cs.uno.edu/~kkelly
- Original Message -
From: "Michael Reeves" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 3:07
You cannot connect to that port via a browser.. That is only for internal
communications with apache or other webservers. So it cannot serve http
request directly from your browser. As far as I know you have to restart the
webserver and tomcat.
Mvgr,
martin
> -Original Message-
> From: S
Hi,
I'm beyond newbie, meaning, painfully unaware of how to do this. I've been
reading for days the User Guide and all the supporting documents at the
Jakarta website for days and still can't figure out where/why I'm not doing
this correctly.
I'm attempting to install the Tomcat to run with Apa
Hi Folks:
When I use the url http://localhost/jserv/ to test ApacheJserv 1.1.2 Status
I do see
ApacheJServ 1.1.2 Status
Welcome to the dynamic status page of the ApacheJServ servlet engine. All
these pages are dynamically created to show you the status of your servlet
execution environment, b
YueMa wrote:
> Hi there,
> How can I config Tomcat to use URL rewriting as session tracking
> mechanism?
>
> Thanks!
good email for you :-)
http://mikal.org/interests/java/tomcat/archive/view?mesg=35357
http://mikal.org/interests/java/tomcat/archive/view?mesg=35358
Bo
Aug.09, 2001
Hi All,
I have the following problem:
Based on some database data, one Servlet dynamicly generates an JSP page
text inside an string buffer.
The question is:
How to execute that "page" without having to write it to disk before
dispatching it ? I mean, how to send that string buffer (with my "pa
We're running Linux, Tomcat 3.n (currently 3.2.2), and Apache 1.3.19 (and
also 1.3.12).
We did rebuild binaries, but didn't really need to. The only weird thing we
did was so the hardware load balancer in front of our servers kept cookie
and/or jsessionid sessions on the same physical hardware s
Tomcat-apache.conf is not used when you're using the jk connectors. Use
mod_jk.conf instead (if mod_jk.conf is not there, look for
mod_jk.conf-auto as a starting point).
dwh
Mike Givens wrote:
> How do I get the tomcat-apache.conf file to load the mod_jk module
> instead of the mod_jserv mod
At 01:47 PM 8/9/2001, you wrote:
>Does Tomcat have all the necessary JDBC drivers installed to successfully
>connect to a mysql database? I will be installing Tomcat on Linux Mandrake
>8with Apache shortly. And I will be developing JSP programs that use MySql.
Michael;
You can get a driver for
Tomcat doesn't do JDBC. Tomcat comes with optional classes (like JDBCRealm)
which do, but those are extensions.
So the answer is, it comes with all the JDBC drivers it needs, which is
none. If _your_ code uses JDBC, _you'll_ need to get the driver(s) you want
yourself.
No. You need to download the mysql drivers from
http://mmmysql.sourceforge.net/
Put the jar file in your classpath and you're set.
Thanks,
--jeff
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 1:47 PM
Subject: JDBC
> Does Tomcat
Maby I'm mixing up versions, so forgive me for that..
In the server.xml you can uncomment the line containing ApacheConfig and
from the TOMCAT_HOME/conf/jk you can include the auto generated apache
include file (named mod_jk.conf-auto.
Don't have any experience on solaris though, but this will pro
How do I get the tomcat-apache.conf file to load the mod_jk module
instead of the mod_jserv module? I'm running tomcat3.2.3 and Apache 1.3.12
on Solaris.
Mike
Does Tomcat have all the necessary JDBC drivers installed to successfully
connect to a mysql database? I will be installing Tomcat on Linux Mandrake
8with Apache shortly. And I will be developing JSP programs that use MySql.
Thanks,
Michael
Johnson
--
I have a doubt about JDBC Realm.
Can I use this just like a connection pool like Weblogic or Websphere???
How can I do that??
Thanks in advance.
Ddemesis GDC
__
Jesús Rosas Medina
IT Security
Ingenieros Programadores Asociados, S.C.
Thanx alot Martin for replying.
-Original Message-
From: Martin van den Bemt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 3:49 PM
To: [EMAIL PROTECTED]
Subject: RE: TomCat!!TomCat!!
>
> HI Everyone,
> I am new to TomCat and am really interested in knowing lot about this.
>
> HI Everyone,
> I am new to TomCat and am really interested in knowing lot about this.
Join the club ;=)
> I actually want to try this on some of our present system(Servlets), where
> there are some url redirection, sessions and so on.
> My doubt is
> 1) will Tomcat work fine without a webserv
Steffen Haase at [EMAIL PROTECTED] wrote:
> Steffen Haase wrote:
>
>> ...now I've got the following error messages
>
> I corrected the compile command in apache-1.3/Makefile and execute make clean
> and make. I've got the following errors
RRRGH :( IT DOESN'T MAKE ANY SENSE :( :( (ok, I
HI Everyone,
I am new to TomCat and am really interested in knowing lot about this.
I actually want to try this on some of our present system(Servlets), where
there are some url redirection, sessions and so on.
My doubt is
1) will Tomcat work fine without a webserver, what i mean is will servlet
Steffen Haase wrote:
> ...now I've got the following error messages
I corrected the compile command in apache-1.3/Makefile and execute make clean and
make. I've got the following errors
---
Compiling sources in /tmp/src/jakarta-tomcat-connectors/webapp/apache-1.3...
make[1]: Entering directory
"Pier P. Fumagalli" wrote:
> That's definitely weird... If you have mod_so, LD_SHLIB _should_ be defined.
> Can you put "gcc" in your Makefile near APXS_LD_SHLIB, and see what happens.
> I really don't understand why this is happening...
I compiled and installed apache 2.0.22 as well. everything
On Thu, 9 Aug 2001, YueMa wrote:
> Hi there,
> How can I config Tomcat to use URL rewriting as session tracking
> mechanism?
>
URL rewriting is not something a servlet container does for you -- it's
something you have to do in your HTML output yourself.
For example, in a JSP page if you crea
I'm seeing some messages regarding multiple request from internet exploder.
Do you have the same problem with nutscrape? A couple of messages back I
also read that all messages regarding multiple request from exploder are
closed, because it wasn't reproducable. Maby you can give this a go on
nutsc
Hi Larry,
I can put some logging statements in and see if I can find out more about
what's going on. However, I think the call creating the new cookie should at
least be wrapped in a try/catch to prevent the exception from blowing that
particular request. I'll do that and submit it to the Dev lis
there are some people actively working on updating the documentation. (esp.
Rob). Please share your experience in writing and help in that area ;-)
and I totally agree with Pier on this..
Mvgr,
Martin
> -Original Message-
> From: Denis Haskin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday
Steffen Haase at [EMAIL PROTECTED] wrote:
> Hi Pier,
>
> "Pier P. Fumagalli" wrote:
>
>> I'm looking at your Makefiles, and somehow there's something I don't
>> understant... It seems that your httpd is not configured to support DSO
>> modules. Can you check that the output of "httpd -l" includ
Hi there,
How can I config Tomcat to use URL rewriting as session tracking
mechanism?
Thanks!
Hi
Anyone Interested in installing and configuring a HTTP server to run an
intranet application using JDBC\ODBC and JSP1.2.
Any Tomcat 4.x would do , to serve upto 20 workstations both Macs & PC's
The target box for the HTTP sever is running windows ME.
Please respond to [EMAIL PROTECTED]
TIA
Thanks Randy for your help.
I think it might be the import class not found in the AdmPreviewPage.jsp
I just got off the list, looks like I should get on again...
Thanks again.
Ling
On Thu, 9 Aug 2001, Ling Wang wrote:
> Hi Michael and MindTerm???
>
> Thank you so much for you response.
Hi Pier,
"Pier P. Fumagalli" wrote:
> I'm looking at your Makefiles, and somehow there's something I don't
> understant... It seems that your httpd is not configured to support DSO
> modules. Can you check that the output of "httpd -l" includes "mod_so.c"?
cheiron:/usr/local/httpd/bin # ./httpd
Here's your problem:
Root cause:
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java, Compiled Code)
> at java.lang.Integer.parseInt(Integer.java, Compiled Code)
> at
>
user._0002fuser_0002fAdmPreviewPage_0002ejspAdmPreviewPage_jsp_0._jsp
Uh... the solution is the 2 items in my response (load mod_jk before
mod_rewrite, put [PT] on RewriteRules).
dwh
Loïc Lefèvre wrote:
>Indeed, phew I finally found someone with the same hemm...problem ;)
>
>Did you find a solution?
>Did you try to "patch" Tomcat? ;)
>
Steffen Haase at [EMAIL PROTECTED] wrote:
> Hi Pier,
>
> "Pier P. Fumagalli" wrote:
>
>> Don't worry... This is a patch that should make your module compile:
>
> I can compile, thats not the problem. I can't linking the mod_webapp.so
That patch fixed the double definition of -DLINUX in the co
Hi Michael and MindTerm???
Thank you so much for you response.
I appreciate very much.
We use path="/cms"
docbase="/"webapps/cms"
I can run the example jsp's
I think I can load static content html
we are on solaris 8 and Tomca 3.2.3 JDK 1.2.2
We just installed tomcat, I want to
Dear Ling,
If you want somebody to help you, please give more
detail information.
Do your jsp files placed in
webapps/projectname/jsp/*.jsp ???
M.T
--- Ling Wang <[EMAIL PROTECTED]> wrote:
>
> When I try to run some .jsp files under webapps, I
> got can't open and not
> found message.
>
> When I try to run some .jsp files under webapps, I got can't
> open and not
> found message.
>
> Anyone knows why or give a guess?
A "little" more information would be helpful:
Are the jsp's in a specific context?
Can you run the example jsp's?
Can you load static content(.html)?
Are you run
Dennis,
Well said.
On Thu, 9 Aug 2001, Denis Haskin wrote:
> Chill out, Pier. I suspect the initial poster was not a native English
> speaker, so the lack of politeness was accidental, I think...
>
> That being said, I agree that there's a huge number of people who post
> to this list (and m
Hi Pier,
"Pier P. Fumagalli" wrote:
> Don't worry... This is a patch that should make your module compile:
I can compile, thats not the problem. I can't linking the mod_webapp.so
> RCS file:
> /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in,v
I changed my Makefile, but that
Indeed, phew I finally found someone with the same hemm...problem ;)
Did you find a solution?
Did you try to "patch" Tomcat? ;)
Loïc Lefèvre
-Message d'origine-
De : Brett Neumeier [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 9 août 2001 17:37
À : [EMAIL PROTECTED]
Objet : Re: [MOD_REWRITE
When I try to run some .jsp files under webapps, I got can't open and not
found message.
Anyone knows why or give a guess?
Thanks in advance!
Ling
I am having a unique situation pop up. It's some
kind of concurrency issue but I can't figure out
what's causing it. I am generating PDFs in a servlet
and a single request to the servlet works fine but
if two users request a PDF at "roughly" the same time
then the adobe plugin appears to get con
Hi Pier,
"Pier P. Fumagalli" wrote:
> Can you send me your three Makefile, Makedefs and apache-1.3/Makefile files?
> I believe that both APR and APXS are defining -DLINUX somehow, you should
> see two colliding entries in one of those files (but please, SEND them)
yes, there are two different e
Denis Haskin wrote:
>
> We found that we had to do 2 things:
>
> 1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite,
> which meant moving the loading of mod_jk from mod_jk.conf to Apache's
> httpd.conf, and we listed it in the LoadModule and AddModule lists
> *before* mod_rewri
Chill out, Pier. I suspect the initial poster was not a native English
speaker, so the lack of politeness was accidental, I think...
That being said, I agree that there's a huge number of people who post
to this list (and many other lists, unfortunately) who seem to turn to
NGs and mailing li
Can you send me your three Makefile, Makedefs and apache-1.3/Makefile files?
I believe that both APR and APXS are defining -DLINUX somehow, you should
see two colliding entries in one of those files (but please, SEND them)
Pier
Steffen Haase at [EMAIL PROTECTED] wrote:
>
> Hi Pier,
>
>
>
Hi,
I would like to prevent the servlet engine to forward the JSP comments in
the generated HTML page. I used to put many comments in my JSP pages but i
would like to hide them to the clients. I've seen that we can give the
JspServlet some init parameters but there is no param
This is pretty far off the topic of servlets--sorry to have added to it.
But you can get the source for String.java (and most of the java.* packages)
in the JDK, in a file called src.jar.
Suffice it to say that, since String.equals() checks for pointer equality
and object type, then downcasts, an
[EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
> hi
>
> how many visits can tomcat deal with at the same time? in other words: on
> how many visit should i use load balancing to increase performance?
> how many hits (or visits) is your tomcat dealing with every day?
Read the archive... I posted
sekhar k at [EMAIL PROTECTED] wrote:
> Hi All,
>
> I am using Apache and Tomcat in Sun os. It's running nice my problem is that
> if i use www.mydomain.com apache is responding.For tomcat i need to give
> www.mydomain.com/domain/servlet/Test but it's not giving result. It's
> responding only wh
Greg Trasuk at [EMAIL PROTECTED] wrote:
> Hi all:
>
> Yes, a good discussion.
>
> I puzzled over this for an application I wrote a while ago. After many
> hours contemplating the servlet spec (2.2), I finally decided that if I
> created an object and dropped it into the application context, it
We found that we had to do 2 things:
1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite,
which meant moving the loading of mod_jk from mod_jk.conf to Apache's
httpd.conf, and we listed it in the LoadModule and AddModule lists
*before* mod_rewrite. That ensured that mod_rewri
Hi Pier,
"Pier P. Fumagalli" wrote:
> >> Finding it will not help. Something else is wrong.
> >> At least 2 things:
> >>
> >> 1 - What is the result of your configure?
> >> (There must be something wrong).
> >
> > no, everything seems to be ok.
>
> Can you send the output?
I checked out th
James, Stuart at [EMAIL PROTECTED] wrote:
> where can I download a copy of the mod_webapp.so
>
> I am using tomcat beta 6 with apache 1.3 running on windows nt 4.0
You'd better check out the new one in CVS. The one shipped with B6 is now
known to have problems
The CVS repository is jakarta
Yes, as you say. You'll need a separate server.xml file for each instance,
setting the ports uniquely across all instances.
-- Bill K.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 09, 2001 7:3
I was talking about "String.equals()".
Kyle Wayne Kelly
(504)391-3985
http://www.cs.uno.edu/~kkelly
- Original Message -
From: "Beth Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 9:50 AM
Subject: Re: Using Tomcat with MSAccess
>
> Kyle Wayne Kelly
> (
Kyle Wayne Kelly
(504)391-3985
http://www.cs.uno.edu/~kkelly
- Original Message -
From: "William Kaufman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 09, 2001 7:14 AM
Subject: RE: Using Tomcat with MSAccess
> >
> > > > "".equals(passwd)
> > > > rather than
> > >
I am getting the following error from Catalina.out upon Tomcat
initialization. I have not done anything but install Tomcat. All Examples
(JSP and Servlet) seem to run as expected and the funny thing according to
the log, the service seems to restart w/o error declaration?
Irix 6.5.12
SDK
hi,
is it possible to run two instances of tomcat on one pc. one instance for
internals and one for the www. i thought of using two different ports...
ist this possible?
greets
bastian
Hello,
I am getting this error when hit my web page first time. What is the
most puzzling that after few retries it works no more errors. There is
no duplicate class paths in my class path and WEB-INF/class(lib)
I would really appreciate if you can point me in right direction
Alex
java.lang.
Hmmm,
I don't think so, the facts are the facts: Tomcat (v3.2.3 on Linux) doesn't
work
with the actual rules I use for the mod_rewrite module (apache 1.3.20).
And I precise, it works perfectly with JServ!
I am a devlopper as many of you and don't think I'm the best ^_^;
But can you then explain m
> - JDBCRealm, how to use in an applet
(Did you really mean "use JDBCRealm in an applet"? Tomcat doesn't run
applets, only servlets,...)
Did you read the online Tomcat docs?
http://jakarta.apache.org/tomcat/
(Pick the version of Tomcat you're using under "Documentation" on the left
side.)
try ClassLoader.getResourceAsStream() instead.
Zhi Shen wrote:
>
> Hi,
>
> ClassLoader.getSystemResourceAsStream( propertyFileLocation ) cannot load my
> properties file. Does anybody know why?
>
> Tomcat-3.2.3
> IIS5.0
> JDK1.3.1
>
> Thanks
>
> -zhi
>
> > > "".equals(passwd)
> > > rather than
> > > passwd.equals( "" )
>
> > No you shouldn't. That's totally evil. For a start, you're
> > creating another String object by doing ""
>
>
> As "" is a constant string, it is created just once. So there
> is not much overhead.
True, othe
Hi,
ClassLoader.getSystemResourceAsStream( propertyFileLocation ) cannot load my
properties file. Does anybody know why?
Tomcat-3.2.3
IIS5.0
JDK1.3.1
Thanks
-zhi
The tag in the web.xml supports as well as
. You should be able to pass init-param's to
JSP's as well as servlets.
Larry
> -Original Message-
> From: James Hughes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 09, 2001 5:23 AM
> To: Tomcat-User
> Subject: Passing paramters to JSP
This bug appears more than once in Bugzilla. So far, attempts
to duplicate it haven't been successful, so it has never
been tracked down.
Cookie handling has been rewritten in Tomcat 3.3 and the
bugs have been "resolved" as being fixed in 3.3.
If you are interested, I can try to supply advice a
On Thursday 09 August 2001 15:47, you wrote:
> This error suggests you are trying to shutdown Tomcat on
> a port that is not open. Are you sure you are shutting
> down the second Tomcat with the correct server.xml file?
> This is the error you would get if you used the first
> Tomcat's server.xml
Its depends on whether Kazi meant getServerName() or getServletName() .. I
was assuming he made a spelling mistake (its a frequent compiler warning on
my box) ..
As you cant get access to the Servlet through the ServletContext (deprecated
and doesn't work anymore)...
But if you want the ServerNa
I don't know about your starting methods and why they are different, but the
last time I saw the exception you listed was when I was trying to get Tomcat
running and didn't realize the java environment I was running was Kaffe.
Some docs and email messages I found make it very clear Tomcat does
PLEASE UNSUBSCRIBE ME FROM THE LIST
This error suggests you are trying to shutdown Tomcat on
a port that is not open. Are you sure you are shutting
down the second Tomcat with the correct server.xml file?
This is the error you would get if you used the first
Tomcat's server.xml file.
Larry
> -Original Message-
> From: Flo
Actually there's a more direct method in
javax.servlet.ServletContext.getServerInfo().
Check it out:
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletContex
t.html
Hope this helps.
-Original Message-
From: Heath, Joseph [mailto:[EMAIL PROTECTED]]
Sent: Thursday, Au
Hi,
It sounds like you are a little sarcastic ;=)
Regards,
Francis Pallini
At 11:25 AM 8/9/01 +0200, you wrote:
>Can anyone tell me why the when using the mod_rewrite module, Tomcat
>can't/don't seem to retrieve
>the rewritten url and args?
>
>As I am responsible of the migration from JServ to
Hi, I have always the same problem but I have noticed the following thing:
so far I ran tomcat with
deamon tomcat start
in this case my XSP application works but there is no output on the shell
(where I ran tomcat).
Now I decide to run tomcat with
/usr/bin/tomcat run
and the shell ou
A couple of points:
for your SQL try using a PreparedStatement and using the setXXX methods on it.
Greg's point about Patrick O'Reilly was that with your hardcoded update statement you
don't have any method of escaping single
quotes in the input data.
Also it looks like you are sending a string
See more remarks below :-)
> > -Ursprüngliche Nachricht-
> > Von: John Baker [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 9. August 2001 09:55
> > An: [EMAIL PROTECTED]
> > Betreff: Re: Using Tomcat with MSAccess
>
>
>
> > > "".equals(passwd)
> > > rather than
> > > passwd.e
Hi,
I was asking myself the same question, after reading the source, I found
that :
- By pushing the new .war file, it doesn't produce a reload of the servlet
- By modifying the files in /WEB-INF/classes, the modified .class files are
reloaded
I use the following instructions (ant) to publish my
Hi all,
How does auto reload work in Tomcat4.0?
My question is: how do I update servlets that I have
deployed in webapps folder as part of .war file during
runtime in Tomcat4x. Without having to recreate and
deploy the .war file and restart tomcat?
In Tomcat3.x I configured all the servlets in the
When dealing with dynamic content (which is why you're using Tomcat)
its usually what you are doing with each request that adds more load to the
computer than Tomcat dealing with the request itself.
So, the answer to your question is it really depends on what you're
doing and th
Your classes will not know where they are being run..
You have to pass some kind of context in to them..
I normally use a ref to the servlet through the constructor
eg..
public class MyExample {
private HttpServlet context;
public MyExample(HttpServlet context) {
I recomend you get your self something like poolman, or jdbcpool from
www.bitmechanic.com because it must be better to use something like
this, it has been tested and is btw free of charge to use and even
distribute (bitmechanic). So I think you would be spending alot of time
into doing something
how can one of my packages (not a servlet) access the server's name?? I
attempted to use the HttpServletRequest object in isolation and using the
function getServletName() to achieve my goals... but it failed. It was just
a shot in the dark...
Now i am turning to you all... shed some light on my
Hi Ananta,
Could you please provide your example configurations... Are you running
tomcat and apache on two seperate servers ?. I have been trying get Tomcat
and Apache to run on separate machines like you have for some time withouth
success
Thanks
Kumar
AnantaS wrote:
> Hi,
>
> I am having s
Can anyone tell me why the when using the mod_rewrite module, Tomcat
can't/don't seem to retrieve
the rewritten url and args?
As I am responsible of the migration from JServ to Tomcat, I've to write a
documentation that explain
this point...
Loïc Lefèvre
Hi,
For my servlets I am using the web.xml file to provide (fairly static)
parameters for the servlets.
I now have some JSPs, and was wondering how to do similar parameter
passing - I cant find any cluse in the Servlet Specification - does anybody
know more about this?
Thanks,
J
where can I download a copy of the mod_webapp.so
I am using tomcat beta 6 with apache 1.3 running on windows nt 4.0
Thanks,
Stuart James.
___
Email Disclaimer
This communication is for the attention of the
named recipient only and should not be
Ok, thanks for these advices.
Then I have a related question:
web.xml seems to be a very vital part of a web application. In it you can
change parameters that you send to the applications, as well as define the
urls that can be used to reach different servlets. But - when you write your
servlet
1 - 100 of 112 matches
Mail list logo