Hi,
Tomcat 4.1.x could be autostarted from Apache2 with these lines in
workers2.properties:
[worker.jni:onStartup]
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=0
[worker.jni:onShutdown]
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=0
Tomcat 5.0.7 doesn't do this autostart:
Has anyone built a mod_jk2.so file for FreeBSD5.1 and Linux (Slackware)?
I got the mod_jk2.so file in Slackware with sucessful but NOT with FreeBSD 5.1.
I have libtool 1.4.3 in Slackware and 1.4.2 in FreeBSD and the package
jakarta-tomcat-connectors-4.1.27.
Any idea?
Thanks!
Decio
Hello all,
I am new to Tomcat, so can anybody explain or advice an article about
this elements. Specially I cant understand the meaning of elements:
Logger, Ejb, Environment, Parameter, Resource,
ResourceParams, ResourceLink.
Thanks in advance.
Context path=/examples docBase=examples debug=0
Hi,
The Wrox Professional Tomcat book does a pretty good job disecting this
file. If you don't find your answers in the docs or on the list you might
want to look there.
-e
On Sun, 17 Aug 2003, Alexander Vavilin wrote:
Hello all,
I am new to Tomcat, so can anybody explain or advice an
Try using the 2.0.2 JK2 source:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/
-e
On Sun, 17 Aug 2003, Decio Jr. wrote:
Has anyone built a mod_jk2.so file for FreeBSD5.1 and Linux (Slackware)?
I got the mod_jk2.so file in Slackware with sucessful but NOT
I'm running RedHat 8.0. Following the instructions in Tomcat: The
Definitive Guide, I downloaded and installed
tomcat4-4.1.24-full.2jpp.noarch.rpm.
Under Starting Up and Shutting Down (page 13), the book says I should
be able to find startup scripts in the bin subdirectory, by which I
assume
Eric J. Pinnell wrote:
Hi,
I don't use ant. I use make. It appears that you are trying to build
JK2.
In the native2 directory:
./configure --with-apxs2=/path/to/apache/bin/apxs
make
Yes, that was exactly what I was trying. configure and make both
complete fine, however I never get the 2
On Sunday 17 August 2003 10:05, Roy Smith wrote:
I'm running RedHat 8.0. Following the instructions in Tomcat: The
Definitive Guide, I downloaded and installed
tomcat4-4.1.24-full.2jpp.noarch.rpm.
Under Starting Up and Shutting Down (page 13), the book says I should
be able to find startup
I've got a book (extra credit to who can name it)
which uses a Counter servlet as an example of how
servlet containers handle static variables.
It claims that aliases (I may be wrong on this, it's
hard to decipher the difference between JWS and Tomcat
lingo) will create
I want to run this code on tomcat 5, on port 8080 in Internet Explorer,
but something strange happens:
When I run the following code
::: CODE :::
?xml version=1.0 encoding=ISO-8859-1 ?
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=1.2
jsp:directive.page language=java
On Sunday, August 17, 2003, at 12:50 PM, Richard Dunn wrote:
What am I doing wrong?
Using an RPM.
I should have learned by now that RPM's are evil. I'm not sure what
made me pick that option this time. Anyway, I grabbed the tar file,
installed it that way, and all is well. Thanks!
Is there any block against someone stealing someone else's session id
and using it for nefarious purposes? In other words, if I write a grade
book program, could a sharp student write down the session id from a
web address (if cookies are off) or look in the teacher's cookie file,
and then go
Use the java.util.Timer class. It has been around since Java 1.3.
-Original Message-
From: Sjoerd van Leent [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 16, 2003 8:04 AM
To: 'Tomcat Users List'
Subject: RE: How to trigger events from tomcat?
It seems the best way to do it is in a
On Sunday 17 August 2003 12:44, Todd O'Bryan wrote:
Is there any block against someone stealing someone else's session id
and using it for nefarious purposes? In other words, if I write a grade
book program, could a sharp student write down the session id from a
web address (if cookies are
An easy workaround is to save the client IP-address in the session, and
look each page if this IP-address is the address the client has. It's
not waterproof, but it makes it far more difficult (ensure that a good
router is available)
Sjoerd van Leent
-Original Message-
From: Richard Dunn
I get this error during configure:
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for apache-2.0
configure: error: valid apr source dir location required
Here is my configure command:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
We have been trying for over a week to solve this problem. It doesn't help
that we haven't used tomcat before, but our application works fine on
WebSphere. So I guess that it some configuration that we are missing.
We are trying to configure tomcat (4.1.24) to do a jndi lookup of a
DataSource
Of course I did mean .jar
I have copied the DB2 jdbc driver file to $CATALINA_HOME/common/lib (I
copied it both as .zip and .tar as some web resources suggested tomcat
would
only recognise it as .tar)
- Original Message -
From: Alan Nesbitt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Todd,
Putting the IP address of the user in the session won't work too well. An
AOL user for example may have a different IP address every time they send in
a request. And, it's obviously possible for someone to spoof an IP
address.
The best solution I've found to prevent sessions from being
Hi,
I've deployed WebObjects 5.1.
cheers
peter
On Friday, August 15, 2003, at 10:35 AM, Randall Perry wrote:
I'm trying to deploy some test WebObjects apps in Tomcat servlet
containers
and am having problems. Very few people on the WO lists seems to be
using
Tomcat for deployment.
If any
Here is a question to do the same without cookies, so storing something
in a cookie just won't work at al. I know that an IP address is not the
best solution at all, but when you're using an internal network, it will
work. I agree that using an IP address is by far not the best solution,
but the
Sjoerd,
I had the selfsame problem last week. The solution (thanks to Bill
Barker) is to add:
jsp:directive.page contentType=text/html; charset=iso-8859-1 /
to the page.
Graham
I want to run this code on tomcat 5, on port 8080 in Internet Explorer,
but something strange happens:
When I
OK I'm baffeled, I did use:
jsp:directive.page language=java
contentType=text/html ; charset=ISO-8859-1
pageEncoding=ISO-8859-1 /
But reading the example it says that the ; sign between text/html and
charset must contain no spaces at the front, so you'll
I've tried editing
http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Jk2Connector and
also the sandbox, but the wiki just times out. There doesn't seem to be
any way of notifying the owner of the wiki.
I tried IE 6 and Opera, every day for a week, in case the problem was
temporary. It's not.
Hi John,
Found the problem.
Somehow the latest /etc/tomcat4/tomcat4.conf
files have a variable missing(SHUTDOWN_WAIT) that used to be there.
Also note that I now export my java memory variables(export JAVA_OPTS=
-Xms64m -Xmx128m )
as the current code no longer works in tomcat 4. (I remember
If you copy the DB2 driver into $CATALINA_HOME/common/lib , then it
should be a jar rather than a zip or a tar file.
I think you should also change driverName to url.
Alan Nesbitt wrote:
We have been trying for over a week to solve this problem. It doesn't help
that we haven't used tomcat
Hello, tomcat-user,
Do any command restart the strut service by specified folder?
Everytime,I restart the full application to restart my strutct,it would affect
other web applicaion in other folder,do any idea can slove this?
Best regards.
MaFai
[EMAIL PROTECTED]
Hi, everyone
I have a question about port 8009.
I'm using Tomcat 4.1.27, Apache 2.0.47, mod_jk2/2.0.3-dev.
When Tomcat starts, Tomcat says,
"INFO: JK2: ajp13 listening on /0.0.0.0:8009".
(This message is in catalina.out)
How do you control access to port 8009 ?
I
Just recently I'm finding each time i start tomcat 4.1.24 it takes longer
and longer to start.
It starts fast, but after a few stop/starts it 'spins' with CPU usage at
99%. First for like 90seconds then for a couple minutes, the example below
shows it took 12 minutes to start. I have no clue
Assuming that a custom tag outputs an XML formatted data structure, do we
have to use a temporary file for an XSL transformation?
What we did so far is to:
1- define a random file name from the JSP page,
2- call the tag from the JSP page (with the random file name as parameter),
3- have the tag
Hi,
I am using Tomcat 4.1.27 and have encountered the following problem.
In my configuration, server.xml is located outside the common CATALINA_BASE directory.
(Test.0)If I start the server with the following command:
C:\j2re1.4.1_01\bin\java.exe -jar -Duser.dir=C:\Program Files\Tomcat C:\Program
31 matches
Mail list logo