hey,
Read the following cluster articles:
http://www.onjava.com/pub/a/onjava/2004/03/31/clustering.html
http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html
regards
peter
Smith, Peter schrieb:
Hi,
I need to implement a basic round robin balancer rule that redirects
requests sequentially
Where do I have to add this? Also in the catalina.bat?
I tested set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m in
Catalona.bat as mentioned from Thilo Krawietz' email.
Still it seems to be very slow.
Thank you
Gunnar
-Ursprüngliche Nachricht-
Von: alu, artifex [mailto:[EMAIL
CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m note quotes (need that
ammendment in Linux, try something similar for Window$e if needed..)
Also, if you put a -Xloggc:/usr/local/tomcat/logs/gc.log (check syntax with java
-X help)
do Xloggc before and after changing memory size, then
I put the java_opts at the beginning of my startup.bat
set JAVA_OPTS= -Xms40m -Xmx1536m
-Message d'origine-
De : Gunnar Pörschke [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 2 juillet 2004 08:35
À : 'Tomcat Users List'
Objet : AW: How to increase memory
Where do I have to add this? Also
Hi!
What do I have to do if want to use a modified HttpSession class? Can I do
one of the following:
Hope I don't have to do it this way:
1) extract $CATALINA_HOME/common/lib/servlet-api.jar
2) decompile HttpSession.class -- HttpSession.java
3) make my modifications on HttpSession.java and
hi
there is a webapp including oracledatabase(datas are hold with turkish
character) ejbs on borlandapplicationserver ,tomcat,struts and jsps.
i can write turkish character in jsp page side.but dynaaction form creates a
selection list.and that list cant show turkish character.in tomcat's
I want to move context element
from server.xml to web.xml, so I can add new applications without restarting
the server.
Everything works fine, my DB and all, until I move this entry:
code:
Context path=/ablogic
docBase=C:\Documents and Settings\SysOp\My Documents\AB
Hm, nobody out there who has seen this problem before and might
be able to help me?
I installed tomcat-4.1.30 on a SuSE 9 box. So far so good.
But then I tried to install the connector modules into the apache
(version 2.0.49-23) but didn't succeed.
I find this type of lines in the apache
yes patrick,
i guess that is what david and i want so your dbtest works. allthough the
posted contents of web.xml lack a doctype or schema definition (see hassans
post). now, have you tried this?
cheers, jan
-Original Message-
From: Briggs, Patrick [mailto:[EMAIL PROTECTED]
Sent:
Trond-
HttpSession.class in servlet-api.jar is an interface as is implemented
in several places in the Tomcat source. To add new functionality I would
make changes to the following classes and recompile Tomcat:
-javax.servlet.http.HttpSession.java
add your new methods:
public void
as i stated before: try adding the following line in the startup.bat file
set JAVA_OPTS=-Xms32m -Xmx512m
you can add it at the very first line, before (or shortly after) the
@echo off statement.
Still it seems to be very slow.
maybe you don't face memory problems.
you can use windows task
Hello All,
I am having a strange issue in that when I user Jk2 connector for IIS
(isapi_redirector2.dll). Everything works fine in the sense that all my
requests are by redirected to tomcat from the web server etc.
But my app passes chunks of XML back and forth between requests and when I
Hi Gunnar,
if you added these options in CATALINA_OPTS, its not necessary to place
it also in JAVA_OPTS. Both variables are attached to 'java' command at
the bottom of catalina.bat (you can see this in the bottom of
catalina.bat at the line commencing with the %EXECJAVA% statement)
But if this
Thank you for clearing that up.
I will take a look at that document. I have made a connection to the Active Directory,
but am not able to authenticate users yet, probably since I don't know details about
how user or members and their corresponding role information is store in our Directory
Did you run tomcat from root? I am running AIX, I remember somewhere it
says you must be root in order to start a program using port 80.
Hope it helps.
Yanbin
-Original Message-
From: Steve Beaman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 6:01 PM
To: Tomcat Users List
was apache already running on linux by any remote chance?
did the log say that 80 was already in use?
On 2 Jul 2004, at 00:01, Steve Beaman wrote:
I'm also on Linux,
and when I tried to
mod 8080 to 80 via vi,
it crashed the server at startup.
I finally gave up, made the mods
on a Windows box,
Someone might be able to help if you would be so kind as to provide more
information like relevant parts of your Apache config and the
workers.properties file. Also was the mod_jk connector package you
installed built for this version of Apache?
--David
Andy Spiegl wrote:
Hm, nobody out there
Cláudio CarvalhoHi,
I'm trying to get the CLOB working in my application and I'm having problems
with the Connection, so, does anybody knows how to use in Tomcat 5 the
oracle pool instead of using the DBCP pool?
Thanks.
Claudio Carvalho.
Title: JSP updates leading to OutOfMemoryErrors and Tomcat Crashes
We have a webapp that consists of 1000 jsps that are code generated from another application. What we are experiencing is within an hour or two of uploading some updated jsps OutOfMemoryErrors start happening and Tomcat
An alternative is to look at the DBCP java-docs. Cast your Connection to a
DBCP's ppoled connection class (or approrpiate). That class has a method
called getDelegate() which returns the real connection from Oracle. Then cast
that to the appropriate Oracle class.
-Tim
Claudio Carvalho wrote:
It depends on your hardware and memory settings.
-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 9:49 AM
To: Tomcat Users List (E-mail)
Subject: JSP updates leading to OutOfMemoryErrors and Tomcat Crashes
We have a webapp that consists of
Ivan:
If you are using TC5, you can move server.xml info not to web.xml but to context.xml
in META-INF directory.
I have used it with Netbeans 3.6 where the software creates this dir and the file. So
context.xml contains:
?xml version=1.0 encoding=UTF-8 ?
Context path=/demos /
Change it
have you tried handling it this way?
1. compile the jsp on a staging server
2. tar up the files
3. upload to the production servers
4. untar
5. touch jsp files
6. touch compiled classes in the working directory
I used that approach in the past to handle updates to the production servers.
peter
I'm using tomcat 4.1.30 on Red Hat Linux w/ Sun JDK 1.4.2_03. In
catalina.sh one of the other admins has redirected standard out to a log
file so that we can capture some info that would ordinarily only be seen
at the console. What we would like to do is have the tomcat container
itself, not just
Hi Tim,
I'm looking for an alternative directly on the application server, something
like putting an oracle-pool jar into tomcat/common/lib directory, have you
heard anything like that?
Claudio Carvalho.
- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL
Try System.out.println(your variable or your error thrown);
in your application for critical parts.
And follow the results from catalina.out file under /tomcat/logs
Hope this helps...
Gokhan
Robert Einsle wrote:
Hello List,
How do i make logging in JAkarta Tomcat applications??
Does it exists an
Thanks alot Mike,
I will try this out during the day and let you if I was successfull or not.
\trond
-Opprinnelig melding-
Fra: Mike Fowler [mailto:[EMAIL PROTECTED]
Sendt: Friday, July 02, 2004 11:04
Til: Tomcat Users List
Emne: Re: HttpSession
Trond-
HttpSession.class in
Hi,
I'm running Tomcat 5 + jdk 1.4.2_02 + Apache 2.0.49 (Fedora 1) with
mod_jk2. I can access the web app through SSL (with client
authentication enabled in Apache) but the following attributes are not
set in the request: javax.servlet.request.cipher_suite,
javax.net.ssl.peer_certificates and
Eulogio Robles wrote:
I am migrating an application from Tomcat 4 to JBoss 4.2.4. It is
being used from with Apache 2/JK2.
However it is failing because request.getRemoteUser() is returning
null in some password protected pages. All the auth configuratoion
(login and passwords) is based on
I tried to get that working but failed so I went back to mod_jk which does
pass the cert.
Directory /webapps/myapp
SSLVerifyClient optional
SSLVerifyDepth 5
SSLRequireSSL
SSLOptions +FakeBasicAuth +ExportCertData +StdEnvVars
Options Indexes
There is no jk2.config or jk2.properties file on any JBoss
directory. Where should it be located?
(Apache does communicate with JBoss over port 8009 for all JSP requests
and they are displayed correctly).
regards,
E. Robles
Nikola Milutinovic wrote:
Eulogio Robles wrote:
I am migrating an
Nope. (Oracle's technical support /bulletin boards might be of more help)
-Tim
Claudio Carvalho wrote:
Hi Tim,
I'm looking for an alternative directly on the application server, something
like putting an oracle-pool jar into tomcat/common/lib directory, have you
heard anything like that?
Claudio
Hola Lista
Instale Fedora Core 2, veo que viene el servicio tomcat e inclusive sube el servicio
tomcat OK. Pero como lo acceso?
Yo pense que era por lo normal http://localhost:8080 pero no funciona. Mi pregunta es
que tengo que hacer para que funcione o como tengo que hacer la prueba para
Hello,
I'm using Tomcat 5.0.25 and I'd like to use container-based security to
restrict access to one specific page. The problem is that this page exists
in different contexts, but using the same docbase. You can get a better
idea by looking at the first snippet included below.
You can see
Eulogio Robles wrote:
There is no jk2.config or jk2.properties file on any JBoss
directory. Where should it be located?
(Apache does communicate with JBoss over port 8009 for all JSP
requests and they are displayed correctly).
That exactly IS the problem - I don't know. JBoss has changed
This is an english list, you may have more luck if you can get someone to translate.
Ta
Matt
-Original Message-
From: Sergio E. Triviño I. [mailto:[EMAIL PROTECTED]
Sent: 02 July 2004 16:40
To: Tomcat Users List
Subject: Como funciona tomcat en Fedora Core 2
Hola Lista
Instale Fedora
If you have everything set up correctly, you should see the index.html file in the
ROOT webapp of the tomcat servlet engine. On fedora core2, look at your firewall
rules to see if you have port 80 enabled.
Sorry, my spanish is horribleno hablo espanol, que mal me amigo!!
Later.
make that port 8080
-Original Message-
From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 10:06 AM
To: Tomcat Users List
Subject: RE: Como funciona tomcat en Fedora Core 2
If you have everything set up correctly, you should see the index.html file in the
ROOT
Please do not flag messages for follow-up. I would try to help, but your
message flag tells me that I am 222 years late (year=1782) - your project
has probably moved on since then.
I think I'm more amazed that Outlook didn't crash. Wow.
Charlie
-Original Message-
From: Andy Spiegl
The internet provides many options for translation.
El Internet proporciona muchas opciones para la traducción.
http://babelfish.altavista.com/
or
http://www.google.com/language_tools
Randall Svancara wrote:
make that port 8080
-Original Message-
From: Randall Svancara [mailto:[EMAIL
translation
Hi List
I installed Fedora Core 2, I see that the Tomcat service is in there and
it even sets it up OK. But how do I access it?
I thought that normally it was http://localhost:8080 but it doesn't
work. My question is: what do I need to do so that it works or how do I
test in
David had me do this following proceedure and that seemed to work, but my
JSP does not return any data so far. The database finally connected though.
When I view this JSP page, all it prints is:
${row.foo} ${row.bar}
instead of the data that should be contained inside those variables.
Try this.
Here's how I do it using Struts on W2K. Modify names and paths to suit your
needs.
Upon startup, a listener servlet (ResourceManagerListener) is called (See
listener tag in the included web.xml source).
The listener servlet will create the connection pool based on your web.xml
Good to hear that it is finally working. I am sorry, but I have never used
any sql tag-lib so I can't really help you with this problem. I would
suggest though, to google for a simple example - if that doesn't help open a
new thread here in the list and ask specifically for help with your new
-Original Message-
From: Ross Rankin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 1:23 PM
To: 'Kal Govindu'; 'Tomcat Users List (E-mail)'
Subject: RE: LDAP - newbee help
To authenticate users you will need an account / password that has read
privileges and a base DN. You will
Hi Davi,
Thanks, but I'm trying to solve this problem without changing my J2EE
framework... using JNDI,etc...
Do you know any other approach?
Claudio Carvalho.
- Original Message -
From: David Short [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, July 02, 2004
I'm sure there's another way. This is how I use it. You can extract the
connection pool logic and embed in your framework.
-Original Message-
From: Claudio Carvalho [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 10:33 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: How
I use a method similar to this as well. I don't use a servlet listener however. I
use a javax.servlet.ServletContextListener instead however. I store the jdbd url in
my web.xml also as a context-param (I just just cram it all into one paramater
however) and put the pool as an attribute of
When attempting to view a PDF on the Tomcat Architecture at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/requestProc
ess/requestProcess.pdf I get errors in Acrobat Reader. Same thing for
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/architecture/startup/ser
verStartup.pdf. Does
It happened to me some time ago with Suse.
If you try the host name, does it work?? that was my case...
Emerson
Chris Alvarez wrote:
translation
Hi List
I installed Fedora Core 2, I see that the Tomcat service is in there and
it even sets it up OK. But how do I access it?
I thought that
I use another pool, but I have some context params, as I put below, and
a pool servlet that instantiate all the pools and centralizes the
connections. So you can see the connection state from a central point.
If some is interested i can make it available. The only think you have
to change is
Yes, that would be better. As it is, I have one pool instantiated in my app and then
one at the server level for my auth realm :(
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 2:13 PM
To: Tomcat Users List
Subject: Re: How to use oracle
I just installed tomcat 5.0.25 on my RedHat 9 server. I followed the
instructions in
http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html
which is linked from the Jakarta home page. I got smoothly (no error
messages during installation or startup) to the step that says
test that
I'm using Tomcat 5 standalone.
Everything works just fine, but now
I need to enter my virtual hosts information
in the server.xml file.
Does anybody have a server.xml file
that uses virtual hosts that I could use as an
example?
Thanks.
I just looked at your link. Since your tutorial says to set the domain
name I imagine that that's just what you did. If you did so, you wont
be able to get to it with the address localhost. I'm not sure, but
I'm thinking that you can omit the name attribute of the Host tag and
Tomcat will
hey folks,
to show you what is it all about i wrote a small app which shows the
html utf-8 codes of the entered string. this is the jsp code:
htmlheadmeta http-equiv=Content-Type content=text/html;
charset=UTF-8/headbody form act=/tests/utf.jsp method=postinput type=text
name=source input
Tomcat Users List [EMAIL PROTECTED] writes:
I just looked at your link. Since your tutorial says to set the domain
name I imagine that that's just what you did. If you did so, you wont
be able to get to it with the address localhost. I'm not sure, but
I'm thinking that you can omit the name
I'm having the same issue. Any suggestions would be welcome.
-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 7:04 AM
To: [EMAIL PROTECTED]
Subject: logging
I'm using tomcat 4.1.30 on Red Hat Linux w/ Sun JDK 1.4.2_03. In
catalina.sh one of
On Wed June 30 2004 4:08 pm, Wade Chandler wrote:
Stephen Carville wrote:
Every once in a while, the number of connections between apache and
tomcat grows very rapidally, going from 12 or so up to over 150 in a
matter of about 10 minutes. This quickly causes the number of httpd
Actually, all machines have 127.0.0.1 with the name of localhost
unless they are alternately configured. So if you have a network card
or PPP connection they will have an IP address and you will still have
localhost. So you can actually configure Tomcat to only listen on
localhost if you chose
Ok, I put the following into my META-INF/context.xml:
?xml version=1.0 encoding=UTF-8 ?
Context path=/ablogic debug=9 reloadable=true
Resource name=jdbc/ablogic auth=Container type=javax.sql.DataSource/
ResourceParams name=jdbc/ablogic
!-- Max pool
Look at one of mine:
?xml version=1.0 encoding=UTF-8?
Context docBase=C:\Documents and Settings\lorenzosjb\Desktop\demos path=/demos
Resource auth=Container name=jdbc/dinamica type=javax.sql.DataSource/
ResourceParams name=jdbc/dinamica
parameter
namefactory/name
Ok turns out there is a problem with Manager application - it doesn't read folders
properly when you deploy as a folder or WAR, but it reads XML fine when you deploy is
XML.
Check it out:
http://issues.apache.org/bugzilla/show_bug.cgi?id=29895
-Original Message-
From: Lorenzo A.
When using manager application,
how can you specify which virtual host you want to deploy your application
onto?
Best Regards,
Ivan V. Jouikov
(206) 228-6670
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
I think you have to have an manager per virtualhost, someone correct me
if I'm wrong
Emerson Cargnin
Floripa/Brasil
Ivan Jouikov wrote:
When using manager application, how can you specify which virtual host
you want to deploy your application onto?
Then how would you access that specific manager? www.host.com/manager ?
-Original Message-
From: Emerson Cargnin [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 4:16 PM
To: Tomcat Users List
Subject: Re: Deploying onto a specific host...
I think you have to have an manager per
*Hello Everyone,
Pardon my ignorance, its been a while since, I've been on this list. I
have a question and I'm not trying to start a flame war or anything like
that I really am just interested in the differences. I would like to
know what the differences are between Tomcat 5.x and Sun Java
This is planned for a future release of TC 5 (it's available in the
'nightly' now). And, no, I have absolutely no idea at all, not even a
guess, as to when this version will have an official release.
Charles Baker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using tomcat 4.1.30
Hi. I'm a newbie at Tomcat - I had my most successful install atempt
last night - but I've run into a small problem. I'm using the jk2
connector running Apache as a frontend for Tomcat on a PC running Fedora
Core 1. My workers2.properties file is:
[shm]
info=Scoreboard. Required for
Hi,
I have 2 questions regarding tomcat:
1- I am wondering if it is possible to rename the JSESSIONID cookie to something else. I am interseted in renaming it host_port_JSESSIONID this way JSESSION ids generated by webservers on the same domain (domain.com) will not conflict with each other. (I
70 matches
Mail list logo