I still think your jdbc-url is wrong. In my opinion you have to give a tnsname
for the oci driver and hostname+port+sid for then thin driver.
Have you tried the examples given in
http://otn.oracle.com/tech/java/sqlj_jdbc/pdf/a96654.pdf
on Page 52 and 53?
For the examples it is enough to have
Hi All !
I'm running Tomcat4.01 on IIS 5.0 using isapi_redirect.dll.
Here is my server.xml for APJ connector:
Connector lassName=org.apache.ajp.tomcat4.Ajp13Connector
port=8009
minProcessors=5
maxProcessors=75
enableLookups=true
acceptCount=50
debug=0
connectionTimeout=-1/
The problem is, that
So, nobody can help me to build mod_webapp, and there is no rpm of it to
download. Does this just mean that it can't be built?
I don't remember where I read that mod_webapp was the correct way to
integrate Apache2 and Tomcat4. The documentation is a bit fragmented.
Is mod_jk* the true way to do
As far as I can see, mod_webapp was designed to be an easier to setup way of
integrating apache and tomcat and it succeeds in this on windows for apache
1.3 and tomcat 4.0x. However, it will serve all content from a directory
you configure it for from tomcat whereas mod_jk* will leave html, jpg,
Hi,
i can't find the tomcat 3.3. configuration directive
TagPoolManagerInterceptor anymore within tomcat 4.0.x.
Also, i could not find any hints on tag pooling within the tomcat 4.0.x docs
Q1: Ist there still a (custom) tag pool within tomcat 4.0.x?
Q2: If there is a tag pool mechanism within
Dear all,
I have a problem here, just wonder if anyone has have that before. I am using
mod_auth_ntdom in my apache tomcat in order to authenticate users against the NT
domain. However, it prompts for passwords for a thousand of time everyday when
browsing that web. Does anyone have that
Few weeks ago I was facing similar problem (but not with NT auth!).
The problem was in browser (MSIE6) which was not correctly accepting cookies
(settings were OK).
I solved this with using response.encodeURL() for every links. This meant
turning on URL rewriting for that browser (every session
I was using IE 6 and IE 5.5, both have the same problems!!
But I don't exactly get why u use the response.encodeURL method, can u elaborate a
little bit on that?
Thank you a lot for your prompt response.
Herbert Chau
Analyst
SAS Institute Ltd
[EMAIL PROTECTED]
TEL: 852-2105-3512
FAX:
Hello!
I have extremly performance problem!
I send a http-request to Tomcat, which forwards the request over RMI to
a business logic.
This sends back a XML with the templates to include and values to place
in the templates.
This process takes about 100 - 400ms (not very fast but ok)
After
It looks like you are using custom tags, and usually with XML
transformations, they are quite processor heavy. You might want to look
at the new Jaxen benchmarks with Dom4j:
www.jaxen.org
-Jacob
| -Original Message-
| From: Alessandro Di Maria [mailto:[EMAIL PROTECTED]]
| Sent:
| But I don't exactly get why u use the response.encodeURL method, can u
| elaborate a little bit on that?
Well... Try to search some info about cookies and session IDs (java, php or
else; it does not matter)...
But for now, very briefly:
In HTTP session exists only at server side (together
Hi
I am having some problems with the refreshing of servlets.
When I call a page from an HTML form submit it is ok.
If I use a link, if the page has already been called it pulls that page
back.
Only when I refresh the page will it reload with the correct
information.
It seems that the page is
Check your header cache control
- Original Message -
From: Richard Johnstone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 12:42 PM
Subject: Refresh Issue
Hi
I am having some problems with the refreshing of servlets.
When I call a page from an HTML form
Are you sure you wan't your sessions to never timeout??
Over time this could be a substantial load on your server..
Øyvind
Øyvind Vestavik
Øvre Møllenberggt 44b
7014 Trondheim
[EMAIL PROTECTED]
41422911
On Wed, 14 Aug 2002, Koes, Derrick wrote:
How closely does Tomcat follow the servlet
By cache control, do you mean
meta content=0 http-equiv=expires
I put this in as one of the archives mentioned it but no help.
Still picks up a cached page
[EMAIL PROTECTED] 08/15/02 12:48pm
Check your header cache control
- Original Message -
From: Richard Johnstone
[EMAIL
Add this to your servlet generated html
META HTTP-EQUIV=Cache-Control CONTENT=no-cache
- Original Message -
From: Richard Johnstone [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 1:23 PM
Subject: Re: Refresh Issue
By cache control, do you mean
meta content=0
If you download the tomcat .tar.gz and unpack it using winzip 8.1, the
(empty) temp directory is not created and
tomcat throws strange error messages.
The solution is of course to unpack using gnu gzip and tar
(I did not try downloading the tomcat zip file)
[just in case somebody else runs into
Add this to your servlet generated html
META HTTP-EQUIV=Cache-Control CONTENT=no-cache
how about setting it in the resonse ?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
servlet generated html = = response html
- Original Message -
From: Power-Netz (Schwarz) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, August 15, 2002 1:45 PM
Subject: AW: Refresh Issue
Add this to your servlet generated html
META
before you go exploring other ideas, try jasper2 from the latest beta
4.1.9.
if you have nested tags, most likely you're suffering from jdk bug with
deeply nested try/catch. I would bother looking into other things until
you've atleast tried jasper2.
peter
Alessandro Di Maria wrote:
Tomcat 4.1.9 Beta has been released. It includes bugfixes over the
previous Tomcat 4.1.8 Beta, including a fix for a rare deadlock
condition in the Catalina classloader, and Jasper 2 compliance fixes
(please refer to the release notes for the complete list).
Release notes:
See below
Peter Alvin wrote:
Tomcat is running fine in standalone mode but I'm having difficulty
hooking it up to Apache.
I've configured Tomcat's server.xml file and I have an include file
in Apache's httpd.conf file that points to a copy of the auto
-generated tomcat-apache.conf file
I had a very similar experience and came to the the same conclusion though I
was using Tomcat 4.04. This is why I've been trying to get CGI's under
Tomcat standalone to work, unfortunately I haven't been able to find out any
information on this anywhere. (And if YOU know something I'd appreciate
Greetings,
Pardon me as there is a small chance this is a FAQ I am not sure.
I have a rh 7.2 rpm style apache 1.3.26 and was just wondering
which one of the two I need to download:
mod_jk-3.3-ap13-eapi.so
or
mod_jk-3.3-ap13-noeapi.so
to go with tomcat 3.3 . . .
I guess what
I have Apache 2.0.39 with Tomcat 4.1.8 working except Apache is not
auto-starting Tomcat (as I thought it is supposed to do with these
versions). Could someone tell me if 1) Apache should auto-start Tomcat; 2)
What needs to be done to configure the auto-start.
If I manually start Tomcat,
Hello,
I've found behaviour which might be a bug in Tomcat 4.0.4. I have a
filter that wraps a request using the correct way
(HttpServletRequestWrapper.) The wrapper overrides getParameter (etc.)
The wrapped request then goes to a JSP, one.jsp. one.jsp includes
another JSP like this:
Hi List,
I am a new Tomcat's user and I try to build it the 4.0.3 version but I
have the following error :
It didn't find the definition of Interface NodeIterator must I search it
and copy it in the org/w3c/dom/traversal/NodeIterator
Thanks a lot
build-main:
[style] Transforming into
looks like you are missing an xml parser. Download
http://xml.apache.org/xerces-j/ and make sure the jar files are on the class
path.
-Original Message-
From: Fathya Zemmouri [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: Tomcat
See my earlier post on Tomcat Include behavior (Do Included CGI's work with
Tomcat? Sent Yesterday at 1:32 pm) - I don't know if this is the same
problem but it sounds a little like it, my speculation is that the include
function won't process included info.
Hello,
I've found behaviour
Yes, Apache should automatically start Tomcat (it works for me). Use the
attached files.
workers2.properties goes in the Apache\conf directory.
jk2.properties goes in the Tomcat\conf directory.
Be sure to adjust paths accordingly.
Dave
-Original Message-
From: Kenny G. Dubuisson,
Hi guys
Is there a page or an archive list where I can found in order to run apache
together with Tomcat?
I know some of you has already configured sucessfuly
Thanks in advance for your replies
Fabio
--
Este mensaje y
Hi all,
I am new to the list, so please bear with me. I am running a server with
RedHat Linux 7.2, with Tomcat 4.0.3 as the web server. I am in the process
of trying to buy a digital certificate from Verisign but am unable to find
any information on how to create a Certificate Signing Request. I
EJB provides a way to easily encapsulate business logic and reduce
complexity by moving some difficult functionality/designs into
deployment instead of development. Transaction requirements defined in
the deployment of the EJB beans as opposed to part of the development of
the EJB beans. (And
Dave:
I put the two files you sent in the proper directories (workers2.properties
in Apache's conf and jk2.properties in Tomcat's conf), restarted Apache, but
still no start of Tomcat. I'm testing it by going to
http://localhost/examples; when I manually start Tomcat, that page displays
as
Kenny,
Here are the steps I used. Make sure TOMCAT_HOME and CATALINA_HOME are set
(reboot if necessary).
0. Install Java 1.3
1. Download jakarta-tomcat-4.1.8.exe from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.8/bin/ and
install into c:\tomcat.
2. Set the TOMCAT_HOME
Hi,
You want three headers there to be compliant across browsers and HTTP
1.0 and 1.1. Try this:
http://www.jguru.com/faq/view.jsp?EID=377
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Furer Alexander [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 7:49
Hi,
The tomcat startup scripts will not take your environment apparently.
Try
adding
JAVA_HOME=/usr/java1.4/j2sdk1.4.0_01
to $CATALINA_HOME/bin/catalina.sh.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Consider draping a DAO around your persistence.
This way you can replace EJB with JDO or RowSet, should you need to
Ex DAO interface:
When you say 'replace EJB with JDO' you mean replacing EJB's entity
beans with DAO, right? (As opposed to session and message beans) (I've
never used DAO, just TopLink and CastorJDO instead of Entity beans or as
BMP entity beans)
On Thu, 2002-08-15 at 08:11, V. Cekvenich wrote:
Consider
Hi,
I am learning JSP with the SAMS bookTeach Yourself JSP in 24 Hours. One
of the sample JSPs keeps getting a compiler error. The code is:
HTML
HEADTITLEJSP that processes parameters in a link/TITLE/HEAD
BODY
Parameters
UL
LICountry = %= request.getParameter(country) %
LIColors:
UL
Hi
I am using Embedded tomcat 3.3.1. When i query for a JSP page it
does not execute it but it displays the jsp file as the same file. Help
me !!!
Thanks Regards
Vijay
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Try it like this:
% String[] colorValues = request.getParameterValues(colors); %
At 11:14 AM 15/08/2002 -0400, you wrote:
Hi,
I am learning JSP with the SAMS bookTeach Yourself JSP in 24 Hours. One
of the sample JSPs keeps getting a compiler error. The code is:
Parameters
* Country =
That didn't work. Removing the ! gave me the error: Status 500 The server
encountered an internal error that prevented it from fulfilling this
request.
Thanks
Brian
-Original Message-
From: Capr1ce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:19 AM
To: Tomcat Users
No
Here is what:
Bean (formBean in Struts for example) delegate to DAO for CRUD
(Insert,Read, Update,Delete to SQL DB) and persistence, done by DAO.
DAO is an interface.
The interface could be, inside of the DAO and not known to bean
(formBean), implemented inside of the DAO a few different
Is there a more detailed error message?
Are you actually setting the colorValues array up anywhere before it gets
to this piece of code?
At 11:21 AM 15/08/2002 -0400, you wrote:
That didn't work. Removing the ! gave me the error: Status 500 The server
encountered an internal error that
get rid of that bang. The bang is for declaring class level stuff.
i.e.
% String [] colorValues = ... instead of %! String
-Original Message-
From: Sharples, Brian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 10:15 AM
To: '[EMAIL PROTECTED]'
Subject: Errors
On Thu, 2002-08-15 at 10:55, Gabe Sanchez wrote:
Hi all,
I am new to the list, so please bear with me. I am running a server with
RedHat Linux 7.2, with Tomcat 4.0.3 as the web server. I am in the process
of trying to buy a digital certificate from Verisign but am unable to find
any
Are you actually setting the colorValues array up anywhere before it
gets to this piece of code?
Actually that was a stupid thing to say.
You should be setting a at least 3 request parameters as 'colors' before
you call this code.
At 04:30 PM 15/08/2002 +0100, you wrote:
Is there a more
There should be more information available in one of the logs.
Some background:
The JSP is compiled to a servlet.
With %! % you define members or methods for the class or
instance.
With % % you fill the body of a method, all implicit
variables (like request) are local to this method.
Have a
So I tried this and it still doesn't work. Here is how I have it set up:
Server.xml:
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0 tomcatAuthentication=false/
Connector
No, it has nothing to do with the OS. It's web server dependent (as the
Verisign documents explain), not OS dependent. In Mr. Sanchez's scenario,
his web server is tomcat, not any of the web servers that Verisign has
listed at that URL, which is exactly his question:
If tomcat is the web
If that is all the code you have, I assume you have a NullPointerException,
which means that one of the variables you are trying to use is null. ie.
probably never set.
If that code you gave was in a file called 'test.jsp', add parameters onto
the end of it when you call it in your browser
Hi,
I am using log4j in my servlet. log4j has JMX interface to change its
parameters at run-time.
Could someone please tell me if I can use the new Tomcat Admin Page in
Tomcat 4.1.x to change the log4j parameters?
Thanks.
Sam
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
This is the first time colorValues array is used. I am sending it three
request parameters as 'colors' from myFlag.html:
HTML
HEADTITLELink Invoking a JSP with parameters/TITLE/HEAD
BODY
A HREF=myFlag.jsp?country=venezuela
colors=yellowcolors=bluecolors=redInvoke
If I get rid of the bang I get another internal error with no other
information.
-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:29 AM
To: Tomcat Users List
Subject: RE: Errors Compiling a JSP
get rid of that bang.
| -Original Message-
| From: V. Cekvenich [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, August 15, 2002 10:28 AM
| To: Tomcat Users List
| Subject: Re: Enterprise Java Beans (EJB)
|
| No
| Here is what:
| Bean (formBean in Struts for example) delegate to DAO for CRUD
| (Insert,Read,
Remove the bang. It's that simple. The request object reference does not exist
outside of doService. If you don't believe me go to the $CATALINA_HOME\work directory
and look at the generated servlet.
-Original Message-
From: Capr1ce [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
The URL I am sending from myFlag.html is:
http://localhost:8080/myJSPs/Hour10/myFlag.jsp?country=venezuelacolors=yell
owcolors=bluecolors=red
-Original Message-
From: Capr1ce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:41 AM
To: Tomcat Users List
Subject: Re: AW:
Thanks for the information Mr. Turner
Gabe Sanchez
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:39 AM
To: 'Tomcat Users List'
Subject: RE: Creating a Certificate Signing Request
No, it has nothing to do with the OS. It's web
I don't believe that, there are always error messages
in log files. look at them.
- Have you looked at the genarated servlet ?
- Check colorValues for null before derefencing it.
- Check colorValues.length before accessing an index.
- This is not the right forum to learn java.
Hi,
I am running tomcat4.0.4 and apache2.0.39 on
windows2000 and using mod_jk to connect them, right
now everything is working fine, but is it possible to
configure apache to start tomcat, if yes how and where
can i find the required worker2.properties and
jk2.properties file for windows2000
Very good Jacob
RowSet is an interface (that extends Resulset).
And suns RowSet implementation does not have source code.
That is why I had Keve and a few other people write an open source
implementation of RowSet. That's right. Open Source RowSet.
It fixes all the bugs and did I say
Not sure if these will work for 4.0.4...
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: August 15, 2002 8:51 AM
To: Tomcat Users List
Subject: RE: Apache not automatically starting Tomcat
Hi,
I am running tomcat4.0.4 and apache2.0.39 on
windows2000 and
The first time I took the bang out, I got an internal server error. This
time it worked like a charm. I must have done something else the first time
I tested that. Anyway, it is working fine now. Thanks to everyone for all
the help. I was unaware that the request object reference only
So, I'll forget about mod_webapp because no one knows how to build it
and the people who built it once say that it doesn't work well anyway.
So, I'll try mod_jk, though I'm concerned that it's marked as deprecated
in the apache bugzilla.
Now, I just need a URL of some instructions for building
I now have Apache/Tomcat/JSDK up and running and I've copied Oracle's
classes12.zip into Tomcat's common/lib directory. I'm performing a test
from an Oracle book and the compiler/code can't find the Oracle classes.
The code I'm running (saved in a file named TestJdbc.java) is:
package
Hi,
which was the server.xml or apps-??.xml option to set an errorpage i.e.
for page not found errors .. ???
TC 3.3.2
thx
Ihr Support-Team
POWER-NETZ®
Full-Service-Provider
Online-Support:
Support: 0190 - 15 11 15 (EUR 0,62/Min)
http://Support.Power-Netz.de (kostenlos)
Rename the file, change the .zip extension to .jar (JAR format is ZIP
format, but tomcat won't recognize .zip).
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:58 AM
To: [EMAIL PROTECTED]
That application doesn't run through tomcat so you'll need to specify the
location of the oracle
jar (or zip) file in your classpath when you try to compile or run the
application.
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
-Original Message-
From: Kenny G. Dubuisson, Jr.
Hi,
Rename it to classes12.jar. ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 11:58 AM
To: [EMAIL PROTECTED]
Subject: Oracle classes not found
I now have Apache/Tomcat/JSDK up and
Thanks for the information !!...
John Naldoza [EMAIL PROTECTED]
14/08/2002 10:20 p.m.
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:RE: Enterprise Java Beans (EJB)
Hi,
Perhaps you may want to look into
Greetings!
I'm running Tomcat 4.0.4 (w/ JDK 1.4, WinNT/2K) and would like to know how
to check Tomcat's memory settings. I've defined an environment variable (in
Windows) like so:
CATALINA_OPTS=-server -Xms1g -Xmx3g
and from reading previous e-mails on this list, this should set the JVM min
Set the JAVA_HOME variable in the catalina.sh file. That is where it goes.
Brian
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 2:13 PM
To: [EMAIL PROTECTED]
Subject: Solaris startup.sh error! 'The JAVA_HOME environment variable
Correct me if I'm wrong, but its still only the persistance side, right?
Or would use use it to replace session beans? I can see it replacing
Entity beans, and the DAO layer uses entity beans; then your session
beans would talk to the DAO layer which did all (only?) persistance.
So, it doesn't
Ok, here is what I have done :
- compiled apache_1.3.19 with DSO support
(./configure --prefix=/usr/local/apache2 --enable-module=rewrite --enable-sh
ared=rewrite )
- added the following to httpd.conf:
#
# Load mod_jk
#
LoadModule jk_module libexec/mod_jk-3.3-ap13-noeapi.so
Ned Wolpert wrote:
Correct me if I'm wrong, but its still only the persistance side, right?
Or would use use it to replace session beans? I can see it replacing
Entity beans, and the DAO layer uses entity beans; then your session
beans would talk to the DAO layer which did all (only?)
Hi,
CATALINA_OPTS=-server -Xms1g -Xmx3g
and from reading previous e-mails on this list, this should set the JVM
min
and max heap size, yet how can I verify this?
That's the correct way to set them.
Here's a simple way to verify things, as I inherently distrust Windows
performance monitoring
It would seem that the JSPs are being handled as static files
and not being handled by the JspInterceptor. I would recommend
doublechecking how you have configured your Tomcat and use log
output (set non-zero debug levels as needed) to see why it is
behaving the way it is.
Cheers,
Larry
However if you find EJB's slow and not scalable, than you would
implement DAO another way. But since you would pull out Enity beans out,
than there is not much reason to keep Session beans. You could just put
regular form bean or java bean in session in some cases and get rid of
EJB server
So, did you get past to your 200 TPS limit goal?
-Original Message-
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent: 15 August, 2002 10:49 AM
To: Tomcat Users List
Subject: Checking Tomcat's Memory
Greetings!
I'm running Tomcat 4.0.4 (w/ JDK 1.4, WinNT/2K) and would like to know
Heh, the answer to that is kind of. I can actually do roughly 250 TPS (at
least according to a tool I'm using) for about 10-20 thousand requests, but
I think this memory problem is giving me trouble after that. I thought it
was a connections problem (I was getting connection errors from the
Hi,
I've been following your thread a bit loosely, so I may have
misunderstood something.
My problem is still the same, after so many requests (and thus some
amount
of information stored in memory), Tomcat starts to use up a whole lot
of
CPU time. I think I hit the memory limit (as I get out
g doesn't seem to be a valid memory increment. From the sun web site:
-Xmsn
Specify the initial size, in bytes, of the memory allocation pool. This
value must be a multiple of 1024 greater than 1MB. Append the letter k or K
to indicate kilobytes, or m or M to indicate megabytes. The default
I was using requests as in total requests. I'm not talking about requests
per second or transactions per second (TPS), I'm talking about the total
number of requests over time (such as 20,000 requests, at any speed really).
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL
You might also want to try the
-Xincgc
Enable the incremental garbage collector. The incremental garbage collector,
which is off by default, will eliminate occasional garbage-collection pauses
during program execution. However, it can lead to a roughly 10% decrease in
overall GC performance.
g isn't valid!?!?
Grr... I got that information off of this mailing list, someone was using a
similar configuration option that had g for gigabytes...
Anyways, thanks!
-Original Message-
From: Sexton, George [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 10:51 AM
To: Tomcat
The only thing you need in your httpd.conf, if you are using Tomcat's
autogen function for mod_jk.conf, is this line:
Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
I'm not sure what platform you are using, but I posted a howto for apache
1.3.26 + tomcat 4.0.4 + mod_jk here:
Couple short questions about Apache/Tomcat clustering here:
1. From which version of Tomcat, it starts to support Clustering or maybe
even failover ??
2. Is that version stable or qualified for production quality release ??
What's the latest version of tomcat stably provides Clustering
I'm having problems running a servlet. I've installed tomcat 4.0.4, apache 2 jdk
1.4 on redhat 7.2.
I put html file with the following into apache's htdocs directory
form method=post action=http://localhost:8080/jimbo/Form1;
I then created a directory in $tomcat_home/webapps called jimbo.
Hi,
I assume your servlet is called Form1?
form method=post action=http://localhost:8080/jimbo/Form1;
Also, do I need any special apache modules for tomcat?
You need a connector installed between them e.g. mod_jk or mod_webapp.
Check out the docs at, for example,
Did you add a Context entry in server.xml for jimbo? Basically, wherever
you see entries in server.xml for examples, you need to do the same thing
for jimbo, then restart tomcat.
You can also put your servlet into the examples directory, with the example
servlets, and see if you can call it
Alright, new environment variable...
CATALINA_OPTS=-server -Xms1024m -Xmx3072m
Should give me a range of 1-3 gigs. When I restart Tomcat, however, this
doesn't appear to affect anything. I'm running a simple memory servlet, as
suggested by Yoav Shapira, to simply create a whole bunch of
Hi,
On unix, we put our CATALINA_OPTS settings in
$CATALINA_HOME/bin/catalina.sh.
Are you running tomcat as a service on NT or from the command line? If
you're running from the command line, can you do
echo %CATALINA_OPTS% before starting tomcat and verify the values are
set correctly?
Hi,
I am trying to run the webapp admin from Tomcat 4.1.9 and I am catching the
following exception. Does anybody know why this is happening?
I am using a Windows ME + J2SDK 1.4.0 + Tomcat 4.1.9-LE.
The exception is at attachment.
Luiz Ricardo
2002-08-15 15:40:02 WebappLoader[/admin]:
Hi,
if you are using jk_nt_service.exe try to modify this property in
%CATALINA_HOME%\conf\jk\wrapper.properties:
wrapper.cmd_line=$(wrapper.javabin) -Xrs
-Djava.security.policy==$(wrapper.tomcat_policy)
-Dtomcat.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path)
Disclaimer: I am not running Tomcat as a service, so I can't confirm that this works.
From the mailing list archive at:
http://mikal.org/interests/java/tomcat/archive/view?mesg=57410
quote
For Tomcat on NT as a service, you can set the -Xms and -Xmx in the
registry. Its
Thanks for the idea, but there isn't a key/directory for
HKEY_LOCAL_MACHINE\Service in either WinNT4 or Win2K registry. Not sure
what the guy was talking about given the registry path does not exist...
-Original Message-
From: Hardt, Shannon [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Hi,
outofmemory problem crashes my Standalone Tomcat Server(NT 4, Tomcat
4.03). large images on the site. From reading on subject, seems I have to
increase the JVM heap size.
Question?
I created a jsp page that shows me the Total memory and Free memory
on the site. The free
To answer your first question, I'm assuming you only have so much memory, so
if you keep allocating memory, you'll eventually run out and then you'll
have problems. As long as the JVM can reclaim memory, you should be
alright.
For your second question, it should look something like this:
JAVA
Thanks a lot,
Still, I really feel stupid here, but I tried java -Xms128m -Xmx256m
on the command prompt and get the Usage: java [-options] list
Thanks
-Original Message-
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 4:07 PM
To: 'Tomcat Users
1 - 100 of 139 matches
Mail list logo