[Win32] Tomcat 5.0.7 no longer autostart in Apache 2

2003-08-17 Thread Juergen Heckel
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:

Getting mod_jk2 : Slackware FreeBSD and Tomcat

2003-08-17 Thread Decio Jr.
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

About server.xml

2003-08-17 Thread Alexander Vavilin
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

Re: About server.xml

2003-08-17 Thread Eric J. Pinnell
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

Re: Getting mod_jk2 : Slackware FreeBSD and Tomcat

2003-08-17 Thread Eric J. Pinnell
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

Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Roy Smith
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

Re: How To Build mod_jk?????

2003-08-17 Thread Bongrip
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

Re: Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Richard Dunn
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

Tomcat and Static Variables

2003-08-17 Thread John Blanco
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

Tomcat 5 and well-formed XHTML

2003-08-17 Thread Sjoerd van Leent
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

Re: Can't find startup scripts after installing Linux RPM

2003-08-17 Thread Roy Smith
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!

Session Security

2003-08-17 Thread Todd O'Bryan
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

RE: How to trigger events from tomcat?

2003-08-17 Thread Berry, Layton
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

Re: Session Security

2003-08-17 Thread Richard Dunn
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

RE: Session Security

2003-08-17 Thread Sjoerd van Leent
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

How To Build mod_jk2 with JNI Support

2003-08-17 Thread Bongrip
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

Cannot Solve jdbc is not bound is this Context problem

2003-08-17 Thread Alan Nesbitt
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

Re: Cannot Solve jdbc is not bound is this Context problem

2003-08-17 Thread Alan Nesbitt
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:

RE: Session Security

2003-08-17 Thread Mike Cherichetti \(Renegade Internet\)
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

Re: Any WebObjects users?

2003-08-17 Thread peter mcgregor
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

RE: Session Security

2003-08-17 Thread Sjoerd van Leent
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

Re: Tomcat 5 and well-formed XHTML

2003-08-17 Thread Graham Stark
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

RE: Tomcat 5 and well-formed XHTML

2003-08-17 Thread Sjoerd van Leent
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

Can't post to wiki

2003-08-17 Thread Michael Slinn
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.

Re: Problem with Tomcat4.1.24 rpm service script in RH8.0

2003-08-17 Thread peter mcgregor
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

Re: Cannot Solve jdbc is not bound is this Context problem

2003-08-17 Thread Kwok Peng Tuck
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

about restart strut,and do any one send me 'Tomca definitvie guide pdf ?

2003-08-17 Thread MaFai
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]

port 8009 security (ajp13)

2003-08-17 Thread yo
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

Tomcat 4.1.24 12 minute startup

2003-08-17 Thread Loren Hall
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

JSP Custom tag and XML/XSL transformation

2003-08-17 Thread Thierry Thelliez
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

Tomcat NT service hangs when using -config

2003-08-17 Thread Dan Ruthers
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