tomcat console

2003-08-18 Thread Luke Vanderfluit
Hi, I'm using tomcat 4.1.27. on Redhat 9. In some documentation it tells me to use the console window extensively during development, how do I do that? If I start tomcat from the console with startup.sh I don't get a lot of feedback about what is happening. Is the only way I can get that feedba

RE: tomcat console

2003-08-18 Thread Filip Hanik
run "./catalina.sh run" instead of ./startup.sh it will run tomcat in the foreground Filip > -Original Message- > From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 9:31 PM > To: [EMAIL PROTECTED] > Subject: tomcat console > > > Hi, > > I'm using tomcat 4

tomcat console

2003-08-18 Thread Luke Vanderfluit
Hi, I'm using tomcat 4.1.27. on Redhat 9. In some documentation it tells me to use the console window extensively during development, how do I do that? If I start tomcat from the console with startup.sh I don't get a lot of feedback about what is happening. Is the only way I can get that feedba

Error when I start Jakarta-tomcat

2003-08-18 Thread Luong Phan
Hi all, I am having problem starting TOMCAT, I installed j2sdk1.4.2 and jakarta-tomcat-3.2.4 on the Redhat Linux 7.3. Those two directories are located at the /usr/java. I set the envoroment variables in the /.bash_profile as the following: JAVA_HOME=/usr/java/j2sdk1.4.2 TOMCAT_HOME=/usr/java/ja

Re: Error when I starting Jakarta-tomcat

2003-08-18 Thread Pablo Mayrgundter
"bad interpreter" makes me think your java installation isn't setup correctly. Can you run a test Java program? On Monday 18 August 2003 2:40 pm, Luong Phan wrote: > Hi all, > > I am having problem starting TOMCAT, I installed j2sdk1.4.2 and > jakarta-tomcat-3.2.4 on the Redhat Linux 7.3. Those

Re: port 8009 security (ajp13)

2003-08-18 Thread yo
Hi Bill, (B (BThank you for the reply. (B (BQuoting Bill Barker <[EMAIL PROTECTED]>: (B (B> Well, you have, like two options (that you would already know about if (B> you (B> had bothered to RTFM ;-). (B> 1) In server.xml set the 'address=localhost' parameter on the (B> Connector. (B> 2)

Run RPM packaged Tomcat as non-root

2003-08-18 Thread operate
I am working on an old system where an RPM package of Tomcat 3.2.3-1 is being installed. I found out that it runs as root. Can anybody tell me how to change it such that it runs as the user "tomcat" or any user that is non-root. -- Rey ---

Re: Tomcat and Static Variables

2003-08-18 Thread John Blanco
> The servlet container may (and tomcat does last I > checked) create one instance of a > (non-SingleThreadModel) servlet for every > tag in web.xml. So just have two tags > with different but same > in your web.xml. You don't need two > contexts for this. You nailed it right on the

Issue moving from 4.0 to 4.1

2003-08-18 Thread Peter Harrison
I am moving from Tomcat 4.0 to 4.1, and I am having an issue with the DefaultContext. With 4.0 we had an entry under the DefaultContext that sets up a resource for our connection pool. userfoo passwordbar driverClassNam

apache, mod_jk, virtual hosts and 2 tomcats

2003-08-18 Thread Dan Lipofsky
I am using Apache 1.3.28, mod_jk, Tomcat 3.2.4. I have Apache running with 2 virtual hosts (www1, www2). I want them to connect to different instances of tomcat. I have 2 completely different tomcat installs, one for www1 and one for www2. This does not work because both virtual hosts connect to t

JNDI DataSources

2003-08-18 Thread "Sebastião Carlos Santos"
I configured Jakarta-Tomcat-4.1.27 to supply connections of my Oracle Database Server through JNDI Datasource as described in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html All accomplished the tests of JNDI Datasource HOW-TO and everything perfectly worked.

Error when I starting Jakarta-tomcat

2003-08-18 Thread Luong Phan
Hi all, I am having problem starting TOMCAT, I installed j2sdk1.4.2 and jakarta-tomcat-3.2.4 on the Redhat Linux 7.3. Those two directories are located at the /usr/java. I set the envoroment variables in the /.bash_profile as the following: JAVA_HOME=/usr/java/j2sdk1.4.2 TOMCAT_HOME=/usr/java/j

AccessLogValve remote ip address problem

2003-08-18 Thread Steve Gruverman
I have an access log set up and (mostly) working for a context running in Tomcat 4.1.12. The %a replacement string only occasionally yields an ip address, more often shows up as a string of HTML from the served page. I did not find this reported in the bug database or in elsewhere in the mailing

NOTE: Aliases not implemented in 5.0.3 and earlier.

2003-08-18 Thread Pablo Mayrgundter
Hi, I just spent a bit of time trying to figure out why the Alias command in server.xml wasn't causing the proper virtual hosting to work. Turns out that it wasn't implemented until 5.0.4. Bummer. Just posting this in case anyone else is browsing the archives for the same problem. From the

Tomcat on Linux: binary or source?

2003-08-18 Thread BenjaminKrieger
Hi everyone, Not that this list seems to need it, but I thought I'd just stir the pot up a little. I've just begun running Tomcat as a free alternative for lighter-weight, simpler web applications -- not very high-traffic or CPU-intensive. Lots of JSPs and a few database queries. Reliability

Jasper2: Can't load class for custom tag library

2003-08-18 Thread Jason Axtell
Hi folks, I have a web app that deploys and runs just fine under Tomcat 4.1.x with JSPs being compiled on-the-fly. Now, I'm trying to precompile my JSPs using jasper2 in Ant. I added a jspc target to my build.xml based on the example at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.

writing to catalina.log

2003-08-18 Thread achana
Hi, all. Currently, our output to catalina.log is programmatically controlled, when we want to change the logged events and content, we have to modify the java code and javac it again. Is there anyway to work around this, not having to recompile? TIA :-) ---

maxProcessors problem

2003-08-18 Thread Mike Cherichetti \(Renegade Internet\)
First off, I'm using RedHat Linux 7.3, IBM JDK 1.4.1, and Tomcat 4.1.24 on an IBM xSeries with Dual Xeon 2 GHz processors, 2 GB RAM, and SCSI disks. I'm trying to get Tomcat to handle a lot of traffic (4-5 million hits per day) and bumping up against a problem I for life of me can't figure out. So,

Problem in intergrating Tomcat and Apache

2003-08-18 Thread VijayaLakshmi Seshadri
Hai I have installed Tomcat 4.0.1 in my machine and i have Apache 2.0.Now when iam trying to integrate the both by downloading mod_webapp.so ,apache is not starting It gives following error "undefined symbol -as_pstrdup" can kindly anybody help me figuring out the problem viji ___

jsp accessing bean errors - need help

2003-08-18 Thread Viswanatha Rao
I have a login.jsp that dumps user input into hello1.jsp hello1.jsp performs a useBean and does set and get properties on a Bean LoginBean. The LoginBean is compiled and located in WEB-INF/classes/login dir. Hello1.jsp contents are: <%@ page session="false"%> Welcome: I get followin

Problem with context.xml and deploying

2003-08-18 Thread Allan Schweitz
Hi, I have currently written an application which I deploy using the manager app. I have split up the server.xml into an application specific context.xml file and a more generic server.xml file. In the server.xml I have specified a connector for https (SSL) and in there I have specified some prope

RE: Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread David Kramer
Im not really sure why you replied to my posting with an issue. But I recommend re-submitting your error to the list with its own subject title. Thanks, DK > -Original Message- > From: VijayaLakshmi Seshadri [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 12:09 PM > To: Tomcat

Re: Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread VijayaLakshmi Seshadri
Hai I have installed Tomcat 4.0.1 in my machine and i have Apache 2.0 Now when iam trying to integrate the both by downloading mod_webapp.so ,apache is not starting It gives following error undefined symbol -as_pstrdup can kindly anybody help me figuring out the problem viji --- David Kramer <[

Admin Application wont start on Tomcat 4.1.24 w/ JDK 1.4.1_03

2003-08-18 Thread David Kramer
I just compiled Tomcat from source and was able to get everything working except the Admin application. I found the following error posted on the net and attempted the response(added ApplicationResource.properties to my WEB-INF/classes dir), but it still had not affect. I even tried removing the

Re: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread Henry Kwan
Hi Cris, Thanks. Between your and John's tips (thanks John!), I seem to have resolve the config problems. It looks like it's up and running now. One last question. I seem to be getting a lot of these messages in the log. Is it anything to worry about? Do I have the JkAutoAlias command in

JSP 2.0 XML Syntax Problem

2003-08-18 Thread Sjoerd van Leent
I am using the JSP 1.2 XML Syntax with the following page: http://java.sun.com/JSP/Page"; xmlns:c="http://java.sun.com/jstl/core_rt"; version="1.2"> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">

RE: maxThreads

2003-08-18 Thread Halstead, Chris
Yes, on Solaris it's 'kill -3 '. The thread dump will go to wherever you have redirected stdout, catalina.out by default I believe. -chris > -Original Message- > From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 1:44 PM > To: [EMAIL PROTECTED] > Subjec

RE: JSP Compilation failure

2003-08-18 Thread Reinhold Gruber
I enclosed CATALINA_HOME and JAVA_HOME with double quotes. Did not help. I think the problem is That docBase must not contain whitespaces. But I have no choice. I'm using Eclipse with the Sysdeo Tomcat-plugin And the Project-Name contains whitespaces (and no way to change this). But it worked wi

Re: maxThreads

2003-08-18 Thread Ben Ricker
On Mon, 2003-08-18 at 12:50, Geralyn M Hollerman wrote: > Ben Ricker wrote: > > > Running against a database? Are you pooling the connections? We hit > > maxthreads when either the DB is messed up (i.e., someone locks a table) > > or before, when the programmers forgot to run socket_close() on th

Re: Tomcat MultiHosting problems

2003-08-18 Thread "Robert Zöhrer @ pronet.at"
Am 8/18/2003 7:48 PM meinte John Turner folgendes: > Have you used separate appBases for each host? yes .. separate appBases, docBases .. but the same settings, the same TC instance > > What are the error messages? at website and logfile the same message: HTTP Status 500 javax.servlet.Servlet

RE: JSP Compilation failure

2003-08-18 Thread Mike Curwen
Wherever you define CATALINA_HOME and JAVA_HOME , enclose the paths in double quotes. Or, install Tomcat in a path with no long file names (spaces). > -Original Message- > From: Reinhold Gruber [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 12:55 PM > To: [EMAIL PROTECTED] >

JSP Compilation failure

2003-08-18 Thread Reinhold Gruber
Hi! In my configuration (Win 200K, jdk1.4.1_03, Tomcat 4.1.24) Tomcat is not able to compile Java-Source code generated from JSPs, if The path to the source-files contains whitespaces like "Program Files". How can I solve this! Thanks in advance Reinhold ---

Re: accessing jsp on tomcat

2003-08-18 Thread Jon Wingfield
That '!' in your code is very important. Remove it. Read Section JSP.2.11 of the JSP spec to see why you need to remove it ;) HTH, Jon Viswanatha Rao wrote: 1. I access jsp as http://localhost:8080/mycode/hello.jsp?firstname=viswa&lastname=rao 2. I have jsp code in my application c:\webdev\hel

Re: maxThreads

2003-08-18 Thread Geralyn M Hollerman
Ben Ricker wrote: > Running against a database? Are you pooling the connections? We hit > maxthreads when either the DB is messed up (i.e., someone locks a table) > or before, when the programmers forgot to run socket_close() on the DB > connection, thereby returning it to the pool. Why, yes I a

Re: Tomcat MultiHosting problems

2003-08-18 Thread John Turner
Have you used separate appBases for each host? What are the error messages? What are the log contents when the URL does not work? John Robert Zöhrer @ pronet.at wrote: 8/18/2003 2:25 PM John Turner: appBase != docBase Right now your Context is using the same value for its docBase as your Ho

Re:maxThreads

2003-08-18 Thread Geralyn M Hollerman
Halstead, Chris wrote: > The first thing you need is a thread dump of the Tomcat process at the time you are > experiencing > all threads busy. You are 100% correct in your assumption that > raising maxThreads will just > delay the inevitable. Once you have a thread > dump you can invest

Re: Tomcat MultiHosting problems

2003-08-18 Thread "Robert Zöhrer @ pronet.at"
8/18/2003 2:25 PM John Turner: > appBase != docBase > > Right now your Context is using the same value for its docBase as your > Host is using for its appBase. Your docBase cannot be your appBase, not > to mention that your Context is using a path of "/webapps" which could > cause all sorts of

Re: [OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Jean-Francois Arcand
I think pointbase has all what you want (that's the one shipped with J2EE 1.4 beta 2 sdk) and as far as I know, it's a pure java implemenation (but unfortunaly not open-source). -- Jeanfrancois Ralph Einfeldt wrote: One free to add: http://www.simpledb.org/ (A spin off of instantdb) As you

RE: accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
1. I access jsp as http://localhost:8080/mycode/hello.jsp?firstname=viswa&lastname=rao 2. I have jsp code in my application c:\webdev\hello.jsp. In my server.xml file I have the context definition 3. hello.jsp code is as follows: Untitled Document <%! String firstname = request.getParamete

Re: Should I use JK if I'm just using servlets?

2003-08-18 Thread John Turner
There is no magic silver bullet that can protect you. Basically, if you take proper steps to secure your Tomcat installation, Tomcat can handle your web application's load, and you don't need any of Apache's features, then you don't need Apache. At the risk of self-promoting, you might want to

RE: accessing jsp on tomcat

2003-08-18 Thread Shapira, Yoav
Howdy, Post your JSP code. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Viswanatha Rao [mailto:[EMAIL PROTECTED] >Sent: Monday, August 18, 2003 12:57 PM >To: 'Tomcat Users List' >Subject: RE: accessing jsp on tomcat > >I run into errors when I access the request ob

RE: accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
I run into errors when I access the request object from a jsp located in a standalone application org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler settin

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
Ah cool.didn't realize that.nicethats good to know. Thanx Guys -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 12:50 PM To: Tomcat Users List Subject: Re: War Development w/ JNDI Datasources http://jakarta.apache.or

Should I use JK if I'm just using servlets?

2003-08-18 Thread Daniel
Hi, Back in the days of Tomcat 3, it was recommended that for real-world applications we should use mod_jk and access Tomcat through Apache, because Apache is more robust, configurable, secure, etc. Is this still necessary with Tomcat 4.1, if I am ONLY running a servlet on Tomcat (i.e. no sta

RE: [OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Ralph Einfeldt
One free to add: http://www.simpledb.org/ (A spin off of instantdb) As you didn't listed 'free/open source' in your requirements: http://www.solidtech.com/products/products.html http://www.pointbase.com/node.shtml?navHier=Products/PointBase+Embedded&CF=products/embedded.html http://www-3.ibm.co

Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting 08/18/2003 and will not return until 08/26/2003. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: War Development w/ JNDI Datasources

2003-08-18 Thread John Turner
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html Anything in can go in a file outside server.xml, in the Host's appBase. Tomcat will pick it up automatically. You name the file app.xml, so if your webapp is myApp, you would put a file called myApp.xml in the Host's appBase,

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Shapira, Yoav
Howdy, If you're packing a war, it's META-INF/context.xml. Or you can put .xml in $CATALINA_HOME/webapps as the manager and admin webapps do. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Pitre, Russell [mailto:[EMAIL PROTECTED] >Sent: Monday, August 18, 2003 12:47

Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting 08/18/2003 and will not return until 08/26/2003. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Pitre, Russell
Which file is this? I'd like to read up on it "put application specifics in context configuration files." Russ -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 10:40 AM To: Tomcat Users List Subject: Re: War Development w/ JNDI Dataso

[OT] free pure java sql database implementation with jdbc driver

2003-08-18 Thread Jens Skripczynski
hi, i'm looking for a database with these features: - works with j2se 1.3 and 1.4.x - works both with linux and Windows (so os dependend libs are bad like with sqlite) - can be used embeded (so no additional server setup) - transactions would be great - can be integrated in a tomcat appl

Re: Session Security

2003-08-18 Thread G. Wade Johnson
In a previous life, I used a similar technique and was defeated when the network guys put a cache engine in front of our servers. Then, all requests came from the same IP address. This sort of thing can happen based on other priorities in the organization and break your best solutions. The main th

Re: War Development w/ JNDI Datasources

2003-08-18 Thread Jacob Kjome
You can always specify it in a separate context configuration file. Keep the server.xml generic and put application specifics in context configuration files. Jake At 08:47 AM 8/18/2003 -0500, you wrote: Hi All, We are currently developing an application and using CVS to manage our source code

Re: Session Security

2003-08-18 Thread G. Wade Johnson
I would avoid basing security on IP address, in addition to the spoofing attack already mentioned, some proxy servers and cache engines replace the source IP address when they pass the request to your server. Under these circumstances, everyone seems to come from the same IP address. As recommend

Re: maxThreads

2003-08-18 Thread Ben Ricker
Running against a database? Are you pooling the connections? We hit maxthreads when either the DB is messed up (i.e., someone locks a table) or before, when the programmers forgot to run socket_close() on the DB connection, thereby returning it to the pool. HTH, Ben Ricker On Mon, 2003-08-18 at

RE: accessing jsp on tomcat

2003-08-18 Thread Shapira, Yoav
Howdy, >I have installed Tomcat 4.1. I configured the server.xml and added a >Context as follows: > >isWARExpanded="true" isWARValidated="false" >isInvokerEnabled="true" >isWorkDirPersistent="false" debug="0" >reloadable="tru

Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting 08/18/2003 and will not return until 08/26/2003. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

accessing jsp on tomcat

2003-08-18 Thread Viswanatha Rao
I have installed Tomcat 4.1. I configured the server.xml and added a Context as follows: I restarted Tomcat. I copied snoop.jsp from the examples dir in my application directory c:\webdev When I access it with http://localhost:8080/mycode/snoop.jsp I get exception: org.apache.jasper.JasperE

RE: maxThreads

2003-08-18 Thread Halstead, Chris
The first thing you need is a thread dump of the Tomcat process at the time you are experiencing all threads busy. You are 100% correct in your assumption that raising maxThreads will just delay the inevitable. Once you have a thread dump you can investigate what section of code has all of you

RE: UserDatabase implementations

2003-08-18 Thread Hookom, Jacob
The documentation on Tomcat's web site describes how to do this: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html In my experience, the authentication provided here is very simple where the only assumption is that there is a username (principal) and that username has a list of rol

RE: I have a problem!!!

2003-08-18 Thread Hookom, Jacob
There are a couple of books out there from Macromedia on application development with Flash MX. Most of the integration that can occur with J2EE is via RPC with SOAP/Web Services. It's VERY new and so I would recommend finding a book from Macromedia on it. -Jacob -Original Message- From

maxThreads

2003-08-18 Thread Geralyn M Hollerman
I am getting this message in my catalina.out file: "SEVERE: All threads are busy, waiting. Please increase maxThreads or check the servlet status500 500"; I have no idea why all threads would be busy and waiting. In the standard distribution of Tomcat 4.1.24, the value of maxThreads is 75; this n

UserDatabase implementations

2003-08-18 Thread Bill Schneider
Are there plans to have JDBC or JDNI/LDAP implementations of org.apache.catalina.UserDatabase? This would be very useful, as webapps often have to perform actions beyond what J2EE APIs provide (get all users in group, get all groups, add users/groups/membership). The advantages would be twofol

Re: I have a problem!!!

2003-08-18 Thread Jean-Francois Arcand
Send an email to [EMAIL PROTECTED] -- Jeanfrancois RobDel wrote: Good morning, I need know if can use tomcat to inegration between Java e Flash using Flash Remoting MX with JavaBean. Sorry by my english, but i am brazilian. Bye Robson Del Angelo ---

Tomcat largefile option in web.xml

2003-08-18 Thread Giorgio Ponza
Hi all ! I have a question about the largefile in the default web.xml I've set the value of largefile to TRUE, but i can't see any differences, temp files, etc. There are some FAQ for this option? Tx Giorgio Ponza - To unsubsc

RE: War Development w/ JNDI Datasources

2003-08-18 Thread Shapira, Yoav
Howdy, One idea that leaps to mind is to have ant tokens in your server.xml and values for those tokens in your build.properties file. Have ant copy the master server.xml to your local install and fill in the tokens for your JNDI datasources. The cactus approach is similar to this and not too ba

RE: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Ralph Einfeldt
- To tune some parameters you must investigate what causes the failure. Otherwise you will waste your time optimizing the wrong options. (If you look close enough at the complete system, there are several dozen of options where you can tune: io settings of the os, memory settings, bios

Re: AD authentication if exact jndi context not known

2003-08-18 Thread carel-j rischmuller
Hi I've managed to solve this problem by adding the attribute: referrals="follow" to the element in the server.xml file. Hope this will help somebody else one day. Regards Carel-J On Tue, 12 Aug 2003 21:18:59 +0200 carel-j rischmuller ([EMAIL PROTECTED]) wrote: >Good day. > >I've succeeded in

War Development w/ JNDI Datasources

2003-08-18 Thread Hookom, Jacob
Hi All, We are currently developing an application and using CVS to manage our source code. Our goal is to be able to pull down the project off of CVS and with a single Ant target, get the application up and running on a local install of Tomcat. The problem that has risen is that our DataSources

RE: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Shapira, Yoav
Howdy, >We have found that if we push the server too hard, the Java VM running >tomcat crashes. I'm assuming it's running out of memory, or file >descriptors, or somesuch. You can take one of two approaches, or even both together: - Write a little program that watches tomcat's PID (tomcat can w

RE: stdout/stderr file size control??

2003-08-18 Thread Halstead, Chris
There you go...you learn something new every day ;-) Thanks for the commons-logging tip Yoav. -chris > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Monday, August 18, 2003 9:39 AM > To: Tomcat Users List > Subject: RE: stdout/stderr file size control?? > >

RE: Session Security

2003-08-18 Thread Mike Curwen
> Also, could someone listening in to the net traffic grab the session > id and then use it? > > Thanks, > Todd > Better yet, if you're not using SSL, they can grab the plaintext HTML that goes back and forth between teacher and server. They see everything the teacher sees. -

Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting 08/18/2003 and will not return until 08/26/2003. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Stuart Stephen
If you run "java -X" you should get a list of memory orientated options. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Steinar Bang Sent: 18 August 2003 14:33 To: [EMAIL PROTECTED] Subject: Avoiding tomcat crashes or do auto restarts? Platform: Intel PIII, RedHat 8,

RE: Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Stuart Stephen
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07206.html This maybe of help. Increasing the Memory allocated to the Java VM when it runs Tomcat is probably the solution. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Steinar Bang Sent: 18 August 2003 14:33 To: [EMAIL

RE: stdout/stderr file size control??

2003-08-18 Thread Shapira, Yoav
Howdy, Adding swallowOutput=true to your context definition also achieves something similar: tomcat will redirect stdout/stderr to the context log, which tomcat also rotates nightly. Furthermore, many elements in server.xml and the main web.xml support debug/verbosity levels which you can tune do

Avoiding tomcat crashes or do auto restarts?

2003-08-18 Thread Steinar Bang
Platform: Intel PIII, RedHat 8, IBMJava2-SDK-1.3.1-3.0, tomcat4-4.1.18-full.1jpp We have found that if we push the server too hard, the Java VM running tomcat crashes. I'm assuming it's running out of memory, or file descriptors, or somesuch. Does anyone have a solution to th

RE: stdout/stderr file size control??

2003-08-18 Thread Halstead, Chris
You can always redirect them to /dev/null (or nul on Windows), but that's probably not really what you want. I've handled this in the past by writing a small piece of code that redirects sysout/err to a controlled output stream that starts a new log at midnight. See java.lang.System.setErr and

RE: SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick
Thanks for the response, I added scheme and secure to the Connector with the same results. not sure what you mean by mounting the connector in httpd.conf or ssl.conf. here is my connector definition in tomcat/conf/server.xml in apache2/conf/httpd.conf I have: LoadModule jk2_module modules/mod_j

RE: How To Build mod_jk?????

2003-08-18 Thread Stuart Stephen
Bongrip, I had the same problem, the files were supposed to be made in the jk/build/jk2/apache2/.libs/ directory, but I never found them. Eventually I reverted back to mod_jk which i built into apache. Stuart -Original Message- From: Bongrip [mailto:[EMAIL PROTECTED] Sent: 17 August 200

RE: SSL and tomcat behind apache

2003-08-18 Thread Stuart Stephen
In your httpd.conf or ssl.conf in the virtual hosts, this should be where the connectors are mounted. Also, in the server.xml make sure that your using the "org.apache.coyote.tomcat4.CoyoteConnector" on port 8443, scheme="https" and secure="true" -Original Message- From: Bradberry, Rick [

RE: SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick
the setup is Apache 2 tomcat 4.1.27 mod_jk2 connectors 4.1.27 Rick -Original Message- From: Stuart Stephen [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 8:51 AM To: Tomcat Users List Subject: RE: SSL and tomcat behind apache Which connector are you using to link tomcat to apa

RE: Tomcat and Static Variables

2003-08-18 Thread Shapira, Yoav
Howdy, > It claims that aliases (I may be wrong on this, it's >hard to decipher the difference between JWS and Tomcat >lingo) will create different instances to the target >Servlet, but static variables are recognized. So >access to one servlet instance might result in: The servlet contai

RE: SSL and tomcat behind apache

2003-08-18 Thread Stuart Stephen
Which connector are you using to link tomcat to apache? -Original Message- From: Bradberry, Rick [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 13:47 To: 'Tomcat Users List' Subject: SSL and tomcat behind apache Hi all, Question about running SSL through apache and using tomcat for jsp.

Re: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread Rick Roberts
He just got a special filter -> trash until 26Aug03 You may want to do the same. Stuart MacPherson wrote: This will happen 50 times a day until 26th august... Ahh -- *** * Rick Roberts

RE: [ANNOUNCE] Maven Tomcat Deployment Plugin

2003-08-18 Thread Shapira, Yoav
Howdy, Cool -- thanks ;) I'm a growing fan of Maven and been meaning to write something like this myself... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Nathan Coast [mailto:[EMAIL PROTECTED] >Sent: Monday, August 18, 2003 8:46 AM >To: tomcat user; Maven Users >Su

stdout/stderr file size control??

2003-08-18 Thread Dave Radcliff
Are there parameters that can be set to either control the size of these files (logging options- verbose, standard, info, etc) or to simply shut logging off? Thank you, Dave Radcliff Verizon, Network Integration Corp. 614-801-0572 [EMAIL PROTECTED]

Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread westj
I will be out of the office starting 08/18/2003 and will not return until 08/26/2003. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SSL and tomcat behind apache

2003-08-18 Thread Bradberry, Rick
Hi all, Question about running SSL through apache and using tomcat for jsp. In the tomcat documentation it says that tomcat only needs to be configured if it is running stand alone. I'm using apache 2 with openssl for the front end. Here's my problem: when I go to the https server (apache) th

RE: Tomcat 4.1.24 12 minute startup

2003-08-18 Thread Shapira, Yoav
Howdy, Can you repeat your experiment with a profiler to see where CPU time is spent? That would be very helpful.. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Loren Hall [mailto:[EMAIL PROTECTED] >Sent: Sunday, August 17, 2003 11:27 PM >To: Tomcat Users List >Sub

RE: Jan West/US/AM/TSA is out of the office.

2003-08-18 Thread pete . storey
If you look in the help for the list: To stop subscription for this address, mail: <[EMAIL PROTECTED]> In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. It will, of course, reply automatically and voila! Pete

RE: exception.getMessage()

2003-08-18 Thread Shapira, Yoav
Howdy, Read the spec: SRV.9.9.1. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: James Michelich [mailto:[EMAIL PROTECTED] >Sent: Friday, August 15, 2003 10:37 PM >To: [EMAIL PROTECTED] >Subject: exception.getMessage() > >Hello, > >I'm having a problem with 'exception

Re: Servlets from public_html?

2003-08-18 Thread John Turner
Dir structure? Error message? URL that you're trying to use? Remember that the Invoker servlet is disabled by default, if you've just dumped your servlet into a directory and expect to call it by its name, it won't work. You have to map it in your web.xml file, as enabling the Invoker is a s

RE: Running servlet via SSL???

2003-08-18 Thread Carlos Oliva
Thank you John, We are on the right track now. We found the documentation about JK and mod_jk -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 8:16 AM To: Tomcat Users List Subject: Re: Running servlet via SSL??? You will configure Apache to

Re: Tomcat MultiHosting problems

2003-08-18 Thread John Turner
appBase != docBase Right now your Context is using the same value for its docBase as your Host is using for its appBase. Your docBase cannot be your appBase, not to mention that your Context is using a path of "/webapps" which could cause all sorts of weird problems. Set appBase = /home/www/v

Re: A good book about Tomcat

2003-08-18 Thread John Turner
As far as I know it is still there, run by Wiley. John epyonne wrote: I miss the Programmers to Programmers (P2P) that Wrox used to have. I sure hope Wiley or Apress will carry on. - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> S

Re: Running servlet via SSL???

2003-08-18 Thread John Turner
You will configure Apache to handle SSL. You will configure Apache to load mod_jk as a DSO. You will configure your SSL virtual host in httpd.conf to forward JSP and servlet requests to Tomcat via the AJP connector which, in a default Tomcat install, is enabled by default on port 8009. This

Re: About server.xml

2003-08-18 Thread John Turner
RTFM http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html Any further questions, please post to the list. Be as specific as possible. John Alexander Vavilin wrote: Hello all, I am new to Tomcat, so can anybody explain or advice an article about this elements. Specially I cant un

Re: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread John Turner
Your mod_jk config is screwed up. First, move all of the global stuff (JkWorkersFile, etc, basically everything BUT JkMount) ABOVE all VirtualHost blocks in httpd.conf. Second, in EACH VirtualHost block that may have requests to send to Tomcat, put the required JkMount statements. The error me

Re: Trouble with Apache 1.3.28/Tomcat 4.124/mod_jk 1.24

2003-08-18 Thread John Turner
No, that's not the answer. Ajp13Connector is always disabled by default in Tomcat 4.1.x. CoyoteConnector on port 8009 is enabled by default. John Cristopher Daniluk wrote: Uhm... And I didn't touch the Connector Classname entry in server.xml: shortly thereafter. That's a comm

  1   2   >