Then I noticed one thing...
in the how to John says nothing about configuring connectors, but in the
default server.xml there is Coyote/JK2 configured
but mod_jk should be used with the normal AJP connector.
This is incorrect. The CoyoteConnector is a complete replacement for the
I would suggest that you quit using mod_webapp. It is not actively
developed any longer. Use mod_jk or jk2. mod_webapp is probably doing
some funky cacheing. I couldn't tell you for sure and neither could most
people. This is because almost no one uses mod_webapp anymore and you will
be
I know it's incorrect, but it works fine both the way (of course just one at
time)
that's why I cannot understand the behaveour
Simo
-Messaggio originale-
Da: Jacob Kjome [mailto:[EMAIL PROTECTED]
Inviato: domenica 9 marzo 2003 9.15
A: Tomcat Users List
Oggetto: Re: Solved my
I've got a situation where I need to initialize some session variables
the first time in. I'd like to start execution with a servlet rather
than a .html or .jsp page. I tried to use:
servlet-mapping
servlet-nameStartServlet/servlet-name
url-pattern/*/url-pattern
Jim,
Create a SetupServlet in your servlets package and use something similar as
the below part of my web.xml
you can even pass some parameters with the param-value
and if I remebmer right you put the load-on-startup tag and it should start
it on startup and initiliase whatever you
Hello,
I have two domain names that I want to serve from one webserver.
I have set up DNS and now the apache is working fine. The webserver
serves up the html from the DocumentRoot for both domains, but Tomcat
serves pages from the DocumentRoot of the first domains for both the domains.
How do
Thank you, I overlooked the num.SelectResources when I moved the code.
Bob
- Original Message -
From: Tarun Ramakrishna Elankath [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 08, 2003 8:58 AM
Subject: Re: JSP ResourceBundle Tomcat 4.1.18 HTTP 500
The properties file
Hi all,
Thx Mark + Rick for your support.
I tried to use your recommended settings
and succeeded so far, as the green arrow is now showing after I restart
IIS.
However, I could not completely decipher
the following settings (in Mark's jk2.properties):
hi there,
here are the properties files I currently use (a merge of Mark's + Rick's
configuration files):
=
jk2.properties
=
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE
Here are a few differences between your configuration and mine:
1) My workers2.properties uses [shm:] instead of [shm].
2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path
syntax on Windows (for your SHM file). Try \\.
Tomcat Users List [EMAIL PROTECTED]
Hi,
I know tomcat already provide web server capability, under what knid circustance you
need to intergrate apache with tomcat. My thinking is when you want to set up virtual
host. I don't know this answer is correct? If any one can give me advice, thank you in
advance.
Paul
You need to execute the below code before sending message
to setup System authentication
Properties props = System.getProperties();
if ( authenticationRequired) --- like if useriD.length != 0
props.put(mail.smtp.auth, true);
else
You can set up virtual hosts with tomcat.
You should set up another HTTP server (such as apache, IIS) if you want to use
apaches capabilities and performance.
Obviously having tomcat delivering static documents, such as images and .html can be a
waste of resource.
Performance is the
I have heard that Apache is much more robust than Tomcat, in particular from
a security standpoint (i.e., it is harder to hack).
I run a site in which there are almost no static resources -- one logo image
at the top of the page gets cached, and most of the rest is dynamic JSP
content. We use
Reynir,
Thank you for your advice. So the main reason to intergrate with Apache is
using Apache to ease the load from Tomcat. In other word, every static
content will be rendered by Apache without Tomcat. If a web application use
dynamic content mechanism such as JSP/Servlet, then the integration
On Sun, 2003-03-09 at 11:59, Reynir Hbner wrote:
You can set up virtual hosts with tomcat.
You should set up another HTTP server (such as apache, IIS) if you want to use
apaches capabilities and performance.
Obviously having tomcat delivering static documents, such as images and .html
I'm running CGI (.pl) programs on a tomcat instance here, there are PHP servlets
available so I guess you should be able to run that too..
-reynir.net
-Original Message-
From: J Aaron Farr [mailto:[EMAIL PROTECTED]
Sent: 9. mars 2003 17:26
To: Tomcat Users List
Subject: RE:
Hi,
In my experience a machine running an application only with jsps/servlets (with no
static content) is under more load with apache than without apache configured. I must
though add, that my load testing where done at least 6-8 months ago, both with IIS 5
and apache 1.3, but never with
On Sat, 2003-03-08 at 21:24, J Aaron Farr wrote:
Hello.
I've checked the archives and done several google searches all to no avail, so
if someone could point this out to me, I'd be very grateful:
Environment:
RedHat 8.0
Apache 2.0.4
JBoss 3.0 + Tomcat 4.1.18
Using coyote
On Mar 9, Manolis Mavrikis had something to say about Re: How do I start...
Jim,
Create a SetupServlet in your servlets package and use something similar as
the below part of my web.xml
you can even pass some parameters with the param-value
and if I remebmer right you put the
You don't need apache, I use iptables to redirect the port 80 to 8080
and 443 to 8443, and Tomcat Standalone isn't root.
Georges
Reynir Hübner wrote:
Hi,
In my experience a machine running an application only with jsps/servlets (with no static content) is under more load with apache than
I just added this to my FAQ.
http://tomcatfaq.sourceforge.net/apache.html
To keep the noise down, complain to me in private if your opinion
differs (or you think I'm wacko) and I'll try to update it accordingly.
-Tim
Paul Hsu wrote:
Hi,
I know tomcat already provide web server capability,
I've been racking my brain for days trying to figure out WHY I cannot
get this servlet to work. Hopefully someone has an idea. Im running
tomcat 4.1 on IIS . From what I've been reading and the directions I'm
following from a WROX book is that you dont need the web.xml file if
your inside webapps
Wileynet:
I've been racking my brain for days trying to figure out WHY I cannot
get this servlet to work. Hopefully someone has an idea. Im running
tomcat 4.1 on IIS . From what I've been reading and the directions I'm
following from a WROX book is that you dont need the web.xml file if
your
This was perfect! Thanks!
-Brian
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 11:35 AM
To: Tomcat Users List
Subject: Re: question
I just added this to my FAQ.
http://tomcatfaq.sourceforge.net/apache.html
To keep the noise down, complain to
okey dokey, a pre taste of what tomcat 5 is going to include,
a fully working version of clustering for your Tomcat 4.1.x codebase.
I wrote this against 4.1.12, but intend to test it with later versions as
well. Let me know if you beat me to it.
http://www.filip.net/tomcat-clustering.html
Tomcat
This is what I have in my conf/web.xml regarding what you said.
servlet
servlet-nameinvoker/servlet-name
servlet-classorg.apache.catalina.servlets.InvokerServlet/servlet-clas
s
- init-param
param-namedebug/param-name
param-value0/param-value
/init-param
I implemented a class that extends org.apache.catalina.Logger that
handles emailing log requests to a given recipient (those which are
errors anyhow). Here is my entry in server.xml:
Logger className=org.md.catalina.logger.TomcatLogger
smtp=mail.attbi.com email=[EMAIL PROTECTED]/
I attached
Sorry, I should mention that I'm using a dated version of Tomcat (4.03)
and Redhat 8.
Chris
On Sun, 2003-03-09 at 17:10, Chris Gokey wrote:
I implemented a class that extends org.apache.catalina.Logger that
handles emailing log requests to a given recipient (those which are
errors anyhow).
On Friday, 7 March 2003 4:21 PM Bill Barker spake thusly:
Once you've done the CVS check-out, it would help if you actually
read the README that comes with it. That will tell you how to
generate the 'configure' script.
Hi Bill,
If you actually read my message you would have noticed that I
Hi,
I'm currently using Tomcat 4.0.6 with IIS 5.0 on Windows 2000. Have just
upgraded to 4.1.18 and am having some problems in my web application
obtaining the name of the remote user in my servlets/struts actions using
the HttpServletRequest method, getRemoteUser().
In 4.0.6 this works fine.
I am new to using Tomcat
I followed the instructions and extracted Tomcat to a folder in C:\
I am using JDK 1.2.2 and set JAVA_HOME as the same
The CATALINA_HOME is also set to my tomcat directory.
When I execute startup a new console opens with Tomcat and
then closes. TOmcat doesn't
That solved the problem. More reading about the change that was made in
version 4.1.12 and about the servlet invoker did the trick.
Thanks again.
-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 2:00 PM
To: 'Tomcat Users List'; 'Jens Skripczynski'
Hello Jinesh,
I didn't set up jk2 but just jk(1)... but my problem was not related to the
jk configuration (when I access the site from localhost everything works
fine... in my configuration the problem was that I was just testing and so I
didn't have a real serverName.. so I used one set up in
seems to work fine with Tomcat 4.1.18 as well
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
www.filip.net
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 1:18 PM
To: Tomcat Users List
Subject: Tomcat 4
Hope someone has had success with this.
Basically using Struts the results of a query are returned to a JSP page
and accessible via the request object with something like:
%java.util.Collection requestCollection = (java.util.Collection)
request.getAttribute(classificationlist); %
I'm trying to
Looks this this was just my imagination. It was communicating fine with
my Logger class. I've made some changes, so if anyone else is
interested, you can download the latest version from:
http://home.attbi.com/~cgokey/java/logger/index.html
Although, for some reason it is overriding the
I think that you will find the answer to this to be no. The scope of a
request object is the servlet service method, so if you are processing a
different request, you are automatically going to have a different
request object.
On Sun, 2003-03-09 at 21:02, Andrew Latham wrote:
Hope someone has
Hi Everyone,
I have an issue on 2 of my tomcat instances in a series of 10 that are
load balanced, but not clustered. I see in the servlet.log file for
those 2 nodes that one of my servlets are 'init'-ed twice, while on
every other server they are only done once. This second init is
performed
i have been experiencing a serious crash running my webapp on tomcat4.1.18 +
j2sdk1.4.1_02 + win2k. the tomcat/java process completely disappears without a
trace. nothing is left in any of the logs suggesting what caused the crash and
we are unable to reproduce it in our testing environment.
can
I am trying to use Apache 1.3.27, with Tomcat 4.1.18, and mod_jk on
Red Hat Linux 7.0
At the moment I'm getting what look like errors in the setup of
mod_jk: two messages in the error_log saying Error while opening the
workers, jk will not work. (see below)
(We are using Apache 1.3.x rather
Sounds like the best method is to set the Collection to NULL when I know
I don't need it anymore.
Cheers
-Original Message-
From: Eric Larson [mailto:[EMAIL PROTECTED]
Sent: Monday, 10 March 2003 13:09 PM
To: Tomcat Users List
Subject: Re: Passing a Collection object from 1 JSP to
I ran Tomcat from the console, when the JVM crashed I got the following message:
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x2BE5C46D
SIGNAL= -1073741819
Hi
I'm using
Apache2.0.43 and Tomcat4.1.18. I have configured it with multiple tomcat
instances with a load balancer. But I am unable to maintain sticky session . The
application that I am using has to maintain sessions. But this not happening
.When I login the request is JSP so it does
I was wondering whether it is possible to map parameters to a url besides
using init-param in web.xml because I want it to be during normal
operation not just when the servlet is initialised eg
http://server.mycompany.com/something instead of
http://server.mycompany.com/ServletName?task=2 . I have
BlankI remember there being a property called jvmRoute in the server.xml
file that would allow the Apache workers to make sure you got the right
Tomcat server upon the next request.
otherwise, you can just cluster enable your system, and it should work for
you.
Hi all,
Sorry for posting a jsp related qury rather tomcat one.But i need it badly
and i have to finish it with in one hr.I tried jsp interest.Hope some one
helps me here.
I am tying to upload a file from jsp page using bean MultiPartRequest class
that come with oreilly examples.
I am using
Hi,
Add time stamp as suffix to the file name that makes the file unique and use
the same for each user. Hope it may solve u r problem
Regards,
Pratt.
- Original Message -
From: Venkat [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 12:10 PM
Subject: file
Hi all,
I am using this package and i need the help badly to rename the file.Can
some one help me out
http://www.servlets.com/cos/
my code snippet is below.
%
MultipartRequest multi=new MultipartRequest(request,.,5*1024*1024);
%
How do i rename the file?
Thanks in advance
venkat
-Original
hello
Can any one pls let me know how to deals with null that result set returns when
quering from an oracle database. its display null when using rset.getString() method
and i want it to be either 0 or (nothing).Am novice to java and tomcat and null
being a special literal in java cosing me
For columns that return null values why don't you check if the
rset.getString() returns null?
If you installed tomcat with the exe rather then there is a option for
you to install tomcat as a service. I think the program that tomcat uses
to do this is freely available but escapes me at the
Zafar,
You need to test for the null after you have retrived the parameter from the
query, via jdbc ResultSet.wasNull()
Code might look like
CallableStatement cs;
// setup the callable statement stuff prior to here
ResultSet rs = cs.executeQuery();
while (rs.next()) {
String param =
Hi Zafar
I wrote this very simple method
public final static String getString(String pOriginal) {if (pOriginal ==
null) return new String();return pOriginal;}
and i use it to retrieve strings that can be null, getting in this case a
new string.
bye bye
Giorgio
- Original Message -
53 matches
Mail list logo