Re: no cache - the browser back button

2002-07-05 Thread Janek Bogucki
--- Paul Phillips [EMAIL PROTECTED] wrote: Hello I have written a simple servlet-jsp application that uses sessions and form based authentication using the container security. It is running under Tomcat 4.03 I have implemented a logout page that has, as its last line:

How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
Hi, We are trying to monitor the set of Threads in the JVM running Tomcat in order to fix a resource exhaustion problem we have. (Tomcat and/or our code is increasing the number of threads until the hard nproc limit in /etc/security/limits.conf for the user is reached. Red Hat Linux 7.2) How

Re: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
--- peter lin [EMAIL PROTECTED] wrote: use an application like optimizeIt or JProbe to profile the thread usage. Warning though, don't try running it on a system with less than 128mb of ram. peter Thanks for the links: http://www.sitraka.com/software/jprobe/

RE: How to list all Threads in the JVM? (Includes suggestion.)

2002-06-05 Thread Janek Bogucki
Hi Yoav, --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Your basic code snippet worked relatively well. In fact, I liked it enough to start using it, with a few modifications and enhancements. I'm attaching a more fully developed class to do some more, e.g. get a list of all threads,

Re: Please someone, I really need help with this issue.

2002-02-08 Thread Janek Bogucki
Hi Mark, Could you be a more specific about what is happening/not happening. One thing maybe worth looking at in your warp config WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples/ WebAppDeploy manager warpConnection /manager/

Re: Is it possible to prevent Tomcat from creating a response?

2002-02-06 Thread Janek Bogucki
Would creating a redirection work after successful A A work? HTTP/1.0 302 Document follows Location: http://xxx.accenture.com/new-location/index.html Will this code be executed within a webapp or within a modified version of mod_webapp? -Janek --- [EMAIL PROTECTED] wrote: I'm creating a

Re: Servlet help...

2002-02-06 Thread Janek Bogucki
--- Clay Mitchell [EMAIL PROTECTED] wrote: How do I define where Tomcat looks for servlets? Where does it look for it by default? Thanks -Clay Have a look at this document http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html It should answer your question.

Re: index.jsp-index.html

2002-02-06 Thread Janek Bogucki
--- Odo [EMAIL PROTECTED] wrote: How configure default page from index.jsp to index.html in Tomcat 4.0? Add the second servlet-mapping element shown here to $CATALINA_HOME/conf/web.xml !-- The mapping for the JSP servlet -- servlet-mapping servlet-namejsp/servlet-name

Re: Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0? - Yes

2002-02-03 Thread Janek Bogucki
--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote: Clear question: No answers The subject, supra, asks the question. If you have a number of URLs pointed to a single IP address, can you map the URLs somehow to discrete web applications in Tomcat 4.0? I have read

Re: new to java, apache and tomcat.. but I want to learn!

2002-01-13 Thread Janek Bogucki
--- Donald Lee [EMAIL PROTECTED] wrote: I have am looking for. I would like to start with something simple but actually usable like a guest book program or a message board. The code doesn't even need to work, just point me in the right direction. I plan to keep going with this in

Re: The (tom)cat with 9 lives...

2002-01-09 Thread Janek Bogucki
--- Dr. Evil [EMAIL PROTECTED] wrote: I was trying to get Tomcat to work with Jmagick, and I appear to be having some problems which cause Tomcat to stop working, but it leaves a bunch of threads going. For some reason I can't kill these threads using the ordinary 'kill -9' method.

Re: JNI libs and Tomcat?

2002-01-08 Thread Janek Bogucki
--- Dr. Evil [EMAIL PROTECTED] wrote: Hi, I'm trying to get Jmagick (a JNI interface for Imagemagick) to work with my favorite web server, which is Tomcat 4. In the release notes, it says: Applications that require native libraries must ensure that the libraries have been loaded

Re: SIMPLE PROBLEM..I think

2002-01-08 Thread Janek Bogucki
--- Catalin [EMAIL PROTECTED] wrote: hi 2 all! I'm new to jakarta and I have this pb: I want to build a new web app with servlets and I don't know how! I have an jakarta-tomcat 3.3m4 10x 2 all! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: mod-webapp Bugs

2001-12-18 Thread Janek Bogucki
I can't help you but I can say that I have what sounds like a similar authentication failure when trying to access the manager app (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html). When I try to access the manager webapp the BASIC authentication dialog popped up, I entered

Re: A newbie - deploying an app with mod_webapp

2001-12-18 Thread Janek Bogucki
What do you have in server.xml? --- Sergei O.Naumov [EMAIL PROTECTED] wrote: Hi! I am starting to work with Tomcat and I get a strange behaviour of Tomcat when it is run from under Apache's mod_webapp. I have this in httpd.conf: IfModule mod_webapp.c WebAppConnection cexam warp

Re: tomcat jboss

2001-12-04 Thread Janek Bogucki
If you want to use JBoss as an EJB server/container and access those EJBs from Tomcat have a look here: http://mikal.org/interests/java/tomcat/archive/view?mesg=48170 --- renyu teng [EMAIL PROTECTED] wrote: this is a little bit off the topic, anyway, could anyone tell me where I could find

Re: DOS Message: Starting Tomcat in New Window, but Server is apparently not running.

2001-11-21 Thread Janek Bogucki
This problem looks similar to this one http://w4.metronet.com/~wjm/tomcat/2000/Nov/msg00565.html If you suspect BlackIce, turn it off and try again. -Janek --- Scott and Michele Young [EMAIL PROTECTED] wrote: I am trying to run Tomcat3.2.3 in Win98. When I run the startup.bat, I get the

Re: TOMCAT does not set the CLASSPATH for my WebAPP

2001-11-20 Thread Janek Bogucki
Have a look at the 'Class Loader INFO': http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html --- Roland Berger [EMAIL PROTECTED] wrote: Hi all As I understand from the Servlet specs. a Servlet Container like Tomcat should set the CLASSPATH for each webapp which is

Re: mod_webapp

2001-11-20 Thread Janek Bogucki
Try here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/linux/i386/ --- Laurent Michenaud [EMAIL PROTECTED] wrote: What is mod_webapp ? - is it a replacement of mod_jk or jserv ? - does it offer good performance ( comparing this others ) ? - Where can we

Re: included files, help!! :)

2001-11-20 Thread Janek Bogucki
Hi Nicholas, This may not be the best way but it will save you having to do as much. Tomcat stores the compiled JSPs in $CATALINA_HOME/work. Deleting the files from there will make Tomcat recompile the JSPs the next time the page using the static include (%@ include file=header.html %) is

Re: Need info to combine Tomcat/Apache

2001-11-15 Thread Janek Bogucki
This is fairly recent http://nagoya.apache.org/~pier/documentation/ There is some further documentation in the CVS module itself. --- Falko Braun [EMAIL PROTECTED] wrote: Hi, I've just installed Apache and Tomcat 4.0.1, but I can't find any documentation on how to use Tomcat as the

Re: jndi.properties

2001-11-15 Thread Janek Bogucki
There is old Tomcat/JBoss/EJB HOWTO here http://home01.wxs.nl/~cancr001/tomcat_jboss.html I tried this with Tomcat 4.0/JBoss 2.4.3 and it worked although the names of some of the JARs have changed. There's another Tomcat/JBoss/EJB HOWTO here

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Janek Bogucki
Hi Nancy, This is what happens under Linux: 1. Switch to a virtual console and login 2. execute startup.sh (Tomcat is running) 3. exit from shell 4. Login and Tomcat is still running. So I have daemon behaviour under Linux. -Janek --- Nancy Crisostomo Martinez [EMAIL PROTECTED] wrote:

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Janek Bogucki
--- Tom Drake [EMAIL PROTECTED] wrote: Effectively the process is killed. I think we are saying the same thing. As far as I know, there's no way to receive SIGHUP (or any other Unix signal) in your java code anyway. It is possible to register a shutdown hook which is executed when the

Re: Linux startup problem

2001-11-11 Thread Janek Bogucki
On Sat, 10 Nov 2001, Matt Egyhazy wrote: i have seen very, very, very bad code written for applications that use jsp. You should see some of the horrible servlet-based code I've also had to look at. People that are bound and determined to shoot themselves in the foot no matter what tools

How to set up Tomcat 4.0.x to call EJBs in JBoss 2.4.x

2001-11-01 Thread Janek Bogucki
for this? I have looked, I promise. Many Thanks, Janek Bogucki Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd. -- To unsubscribe: mailto:[EMAIL PROTECTED

Servlet Exception with a file named 1_4_1.html

2001-10-28 Thread Janek Bogucki
I added a file named 1_4_1.html to a webapp and got this exception when the page was served. Presumably it was due to the class name starting with a digit. File: 1_4_1.html Class: 1_0002d4_0002d1$html Cheers, Janek Bogucki A Servlet Exception Has Occurred org.apache.jasper.JasperException

Re: Cannot open connection conn

2001-10-18 Thread Janek Bogucki
What's in your server.xml? --- Kemp Randy-W18971 [EMAIL PROTECTED] wrote: I have set up Tomcat 4.01, mod_webapp, and Apache 1.3.22 on Windows 2000. What could be causing this error in the Apache error log, in regards to the Tomcat connection? [Thu Oct 18 09:50:02 2001] [error]

Most reliable way of determining when tomcat has finished starting up

2001-10-05 Thread Janek Bogucki
, Janek Bogucki Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie

RE: mod_webapp.so: ltconfig --version

2001-09-25 Thread Janek Bogucki
Hi shine, The cause of the error appears to be an invalid version returned from ltconfig. You'll find that script at webapp/apr/build/ltconfig Run the script like this to test it's not corrupted $ ./ltconfig --version ltconfig (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)

RE: Help with getting mod_webapp to work properly: ppConnection

2001-09-25 Thread Janek Bogucki
Hi Nick, I might be a spurious character inbetween the A and the p of WebApplication WebA[spurious]ppConnection conn warp 192.168.2.4:8008 WebAppDeploy examples conn /examples Try deleting the directive 'WebAppConnection' and typing it back in. hth, yan - Original Message -

RE: tomcat is crashing

2001-09-25 Thread Janek Bogucki
Hi, I don't know the solution to your problem but it may be worth looking at this. You say you are using JDK 1.3.0 but the dump shows Classic VM (1.2.2-RC2-K, green threads). On my system I get: $ java -version java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition

Re: WebAppDeploy syntax ?

2001-09-25 Thread Janek Bogucki
Hi Hans-Erik, Are you sure you actually need to set up a context in server.xml if you are using mod_webapp.so? I think Pier say that the entire Tomcat-Standalone Service can be removed from server.xml and mod_webapp will set of the context automatically thus avoiding conf data duplication.

Re: Where to get mod_webapp

2001-09-25 Thread Janek Bogucki
Hi Li, It is possible to build mod_webapp.so from the sources available via cvs. Start here http://jakarta.apache.org/site/cvsindex.html Download the jakarta-tomcat-connectors module and then read this file after the cvs checkout has finished

Re: Generating directory trees

2001-09-25 Thread Janek Bogucki
Hi Doug, This thread talks about turning the directory listing feature off so you could try the reverse http://www.jguru.com/forums/view.jsp?EID=465139 Here's another message where turning the feature off is discussed http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg28280.html

Re: mod_webapp.so

2001-09-25 Thread Janek Bogucki
Hi Shine, RHL 6.2 has an earlier version of bash than RHL 7.x. I wonder if your error is due to the script using syntax unsupported in this earlier version. -yan --- shine [EMAIL PROTECTED] wrote: Hello i am trying to integrate tomcat + apache I got the following error when I compile the

Re: mod_webapp.so

2001-09-25 Thread Janek Bogucki
Hi Shine, Not quite what you want but this page describes a way of getting Oracle 8.1.x, which requires glibc 2.1.3 to run under Red Hat Linux 7.x, which uses glibc 2.2.10 http://www.zx81.org.uk/computing/oracle/oracle-howto/redhat7.html -yan --- shine [EMAIL PROTECTED] wrote: Hello, i get

Re: Help needed

2001-09-25 Thread Janek Bogucki
LOL! (Although this might be more appropriate: tomcat apache configure HP-UX ) --- Jan Labanowski [EMAIL PROTECTED] wrote: Start from going to: http://www.google.com and type in: tomcat apache configure and hit return. Jan

How to get warp.jar built from cvs?

2001-09-24 Thread Janek Bogucki
Hi, I have had success in building mod_webapp.so for Apache 1.3 following the instruction in webapp/README.txt. However I don't know how to get warp.jar built in java/. I followed the instructions in README.txt and used this command: ./configure --with-apxs=/opt/apache/sbin/apxs

Re: Solution to mod_webapp.so:undefined symbol: pthread_sigmaskon Red Hat Linux 7.1

2001-09-24 Thread Janek Bogucki
Thanks Pier. I followed the instructions in webapp/README.txt and built and loaded mod_webapp.so into Apache 1.3 without the 'pthread_sigmask' error. My mistake was following the instructions in this file which are out of date: jakarta-tomcat-connectors/webapp/docs/apache-1.3.html Janek

RE: Everlasting tomcat processes

2001-09-24 Thread Janek Bogucki
It's probable these 'ever-lasting' process are tomcat running normally. Do you know these threads to started by a JSP or Servlet in reponse to a connection? Does the number and PIDs remain stable? - Original Message - From: Chaber, Eric [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: