Tomcat 5

2003-06-06 Thread Julien Martin
Hello, I am having a problem with tomcat5/jwsdp-1.2. Tomcat doesn't take into account changes made to jsp. If I delete the generated java file and the class file compiled from it, Tomcat won't translate(jsp->java) it and compile (java->class) it. The specific file I am having a problem with is js

Problem executing Servlets with Tomcat 4.1.24

2003-06-06 Thread David Erickson
Hi I'm new to the whole java scene but I'm trying to get some example and test servlets running and having all kinds of problems. I have a working tiny servlet thats compiled as ExampleServlet.class. However the only place I can get tomcat to execute it is when i put it in the (tomcat home dir)\w

Re: Tomcat configuring for email

2003-06-06 Thread Clement
sorry i am at a lost... do u mean that an additional SMTP server/ program is needed?? - Original Message - From: "John Corrigan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 11:41 Subject: RE: Tomcat configuring for email > Provided tha

Re: Sun JVM vs. JRockit

2003-06-06 Thread Bill Barker
"joe user" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > --- Bill Barker <[EMAIL PROTECTED]> wrote: > > From what I've seen, for small number of requests > > like this, the overhead of > > managing the tagpool swamps what it saves in GC. > > You might want to try > > disabling ta

Re: Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-06 Thread Bill Barker
You need to have libapr on your LD_LIBRARY_PATH when you start Tomcat. "Michael Cardon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Where I am missing this?: undefined symbol: apr_md5_final > > > When I start my instance of tomcat it writes the following to catalina.out: > > Jun

Re: using element

2003-06-06 Thread Bill Barker
Any elements must come after and before elements. The error message gives you enough info to put it in the correct order. "Tim O'Dowd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to setup an error page for 404 errors in tomcat4.1.24. The > web.xml file worked fin

Re: Re: customized MBean

2003-06-06 Thread Bill Barker
The admin webapp in TC 4.1.x has a very narrow view of what it displays. In particular, it doesn't display custom Valves. There has been discussion to change this in TC 5.x, but at the moment it doesn't work there either. You can enable the JMX consol in Tomcat by setting mx.port=9000 (or your o

Re: Loading Different XML Parser

2003-06-06 Thread Bill Barker
I haven't tried it myself, but other people have reported that my moving the xerces jars server/lib and putting their xml-parser in shared/lib works. "Brendle, Douglas A." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I'm using the JDOM api for xml parsing. Trouble is, Tomca

RE: Tomcat configuring for email

2003-06-06 Thread John Corrigan
Provided that localhost has an SMTP server then yes, e-mailing is "on." The example .jsp does in fact send e-mails provided that everything else is configured correctly. -Original Message- From: Clement [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 8:30 PM To: Tomcat Users List Su

Re: Creation of socket by tomcat

2003-06-06 Thread Bill Barker
I haven't really played with the UNIX sockets option, but my first guess would be that the user that Tomcat/Apache are running under doesn't have permission to create the socket at the configured location. Posting error messages from your logs will likely get you a more helpful answer :). "Mark F

Re: Tomcat configuring for email

2003-06-06 Thread Clement
Hello. Sorry for the confusion. What i meant does tomcat have a built in emailing? As u replied there is . But is it on by default? when i try running the example inside , it seems to be a dummy one. What i am trying to do is to mail a user automatically everytime he makes a purchas

Re: SSL client authentication with tomcat 4.1.24

2003-06-06 Thread Bill Barker
I believe that the Sun 1.4 JVM ships with the certs for Verisign and Thawte (to verify this, search the java.sun.com site). To allow OpenExchange signed certs, you need to get the signing cert (not hard), and import it into cacerts. "Mario Ivankovits" <[EMAIL PROTECTED]> wrote in message news:[EM

Re: Cannot get keep -alive to work with SSL

2003-06-06 Thread Bill Barker
You'll need to post more info if you want any real help. At the very least, which Tomcat version you are using. "McClure, Timothy J(IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am running Tomcat standalone with SSL turned on but the TCP/IP connections keep

Re: Mod_jk, ssl, java, and certificates question

2003-06-06 Thread Bill Barker
The client only needs to deal with Apache-ssl. Apache with mod_jk (configured correctly, e.g. the default config) will pass the SSL variables to Tomcat, but all of the SSL handling (including server-cert) will be done by Apache. "Jeff Owens" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

Re: Sun JVM vs. JRockit

2003-06-06 Thread joe user
--- Bill Barker <[EMAIL PROTECTED]> wrote: > From what I've seen, for small number of requests > like this, the overhead of > managing the tagpool swamps what it saves in GC. > You might want to try > disabling tag-pooling (and clear the work dir), and > re-run the test on 4.1. Object pooling is

All threads are busy, waiting

2003-06-06 Thread Billy Ng
Hi folks, I am using tomcat 4.1.12. I get "All threads are busy, waiting." so often. Is it a bug in the tomcat? Billy Ng

Mod_jk, ssl, java, and certificates question

2003-06-06 Thread Jeff Owens
I have a system setup running the Apache Web Server with a self-generated SSL Certificate for using Https. I have another system setup running Tomcat. I have successfully connected them using mod_jk (which is great!). I have a servlet application running and am adding another, but the second o

GOT IT! (was: newbie question: mod_jk not working Win 2000)

2003-06-06 Thread Keith Adams
I just noticed that the Command window in which Tomcat is running says Tomcat 3.2. And sure enough, there turned out to be Tomcat 3.2 installed also, and somehow I'd gotten myself confused when assigning a Windows shortcut to start up Tomcat. Thanks everybody for your help. Sorry for sending you

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
Bao No, no errors. But the weird thing is that there is no Tomcat log - only a mod_jk log. Thanks, Keith > Also are there any cannot bind to port related errors in your log > files when > > starting up, either CATALINA_HOME\logs\localhost_date.txt or > APACHE_HOME\logs\stderr.log? > -

Help Please: Starting Tomcat using channelUnix with mod_jk2

2003-06-06 Thread Michael Cardon
Where I am missing this?: undefined symbol: apr_md5_final When I start my instance of tomcat it writes the following to catalina.out: Jun 6, 2003 9:49:55 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jun 6, 2003 9:49:55 AM org.apache.commons.modeler.Regis

RE: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Mark I've converted scripts over to those but I still get nothing. Connection refused attempting to connect to localhost:8080. Anything else at all? How did you apply permissions to your user accounts? I'm probably missing something in the syntax. -Dave -Original Message- From: Mar

using element

2003-06-06 Thread Tim O'Dowd
I am trying to setup an error page for 404 errors in tomcat4.1.24. The web.xml file worked fine originally. So I added the error-code element within the element: ... <--I added this part--> 404 /jsp/shared/Error_404.jsp <--end of

RE: clustering

2003-06-06 Thread Filip Hanik
you are correct of course with the terminology, how ever in the lazy days of today's IT, you say that you cluster your tomcat servers when you enable session replication. :) Filip > -Original Message- > From: Ben Ricker [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2003 11:00 AM > T

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread BAO RuiXian
-Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="0" useURIValidationHack="fal

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
You might try setting debug="99" in the connector tag so as to generate a good deal of logging in catalina.out when the server starts up You might also want to try the non-coyote connector right below the one you are using. -Original Message- From: Jason Bainbridge [mailto:[E

Re: How to include an external package in my web app?

2003-06-06 Thread Jason Bainbridge
On Sat, 7 Jun 2003 04:13, Jose Euclides da Silva Junior - DATAPREVRJ wrote: > i guess it is a good question. I added an external package ( > org.apache.commons ... ) into my project since my servlets need it to run. > My project was developed with JDeveloper and then, i added a  command line > like

Applet exceptions in non-ROOT WEB-INF subdirectories

2003-06-06 Thread Robert Wray
Newbie here so I'm probably missing something really basic... I've been looking at this for a few days and decided to be enlightened. Question: Is there a tag I need to place in a config file, web.xml file, or somewhere else to allow an applet access to use/find data/class (non-servlet) files

RE: Tomcat/ Apache startup

2003-06-06 Thread Mark Eggers
David, I am using the scripts from: http://daydream.stanford.edu/tomcat/install_web_services.html I modified them slightly, including using sudo -u tomcat-ops for the Tomcat startup script. These scripts take care of setting the appropriate environment variables before starting, stopping, or re

Re: How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-06 Thread Scott Reynolds
One way to fake it is to have your users access a page on the web server that just "frames" the URL to Tomcat, hiding the real address and the fact that it's running on port 8080. I do this in a couple situations and it works out quite well--also provides a single entry point to the web applicatio

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Jason Bainbridge
On Sat, 7 Jun 2003 03:09, Keith Adams wrote: >                port="8009" minProcessors="5" maxProcessors="75" >                enableLookups="true" redirectPort="8443" >                acceptCount="10" debug="0" connectionTimeout="0" >                useURIValidationHack="false" >               >

RE: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
I have both a TOMCAT_HOME and CATALINA_HOME env var. The TOMCAT var was left over from my first try at install and I just kept it around. I think my problem may lie in the way I'm trying to set permissions for my 'tomcat' user. The user defiantly exists as I'm using it elsewhere but maybe it d

How to add an external package in my web app?

2003-06-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
> an external package in my web app? > > Hi gurus, > i guess it is a good question. I added an external package ( > org.apache.commons ... ) into my project since my servlets need it to run. > > My project was developed with JDeveloper and then, i added a command line > like "package org.apache.

How to include an external package in my web app?

2003-06-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi gurus, i guess it is a good question. I added an external package ( org.apache.commons ... ) into my project since my servlets need it to run. My project was developed with JDeveloper and then, i added a command line like "package org.apache.commons... " at my servlet "BancoServlet" to allow p

JDBCRealm Newbie Question

2003-06-06 Thread Lior Shliechkorn
Hi, I've created a JDBCRealm and entered it into the server.xml file. Now that I restarted Tomcat, and created a element in my application...how exactly do I put the realm to use/ or how does Tomcat do it? Also, now that I created the realm I can't access my /admin application... Thanks,

RE: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Hello Mark, Yes I set a tomcat account chown -R $TOMCAT_HOME/bin and replaced the "noone" with Tomcat. Still nothing. I'm a real newbie at trying to administer this unit so I really apprec the help. -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Friday, June 06,

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
Bao Thanks. Did so, but made no diff. Keith -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 1:09 PM To: Tomcat Users List Subject: Re: newbie question: mod_jk not working Win 2000 > * >

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread BAO RuiXian
Hello, Keith Adams wrote: * ## Auto generated on Wed Jul 31 12:53:26 EDT 2002## LoadModule jk_module modules/mod_jk.dll JkWorkersFile "D:\jakarta-tomcat-4.1.18\conf\jk\workers.properties" Since this file was generated autom

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John I'm pretty sure there's no firewall. Thanks, Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat/ Apache startup

2003-06-06 Thread John Turner
My guess is that Tomcat isn't starting, because the convention is to use CATALINA_HOME, not TOMCAT_HOME, which means that TOMCATHOME=$TOMCAT_HOME will make TOMCATHOME null. Unless, of course, you have an environment variable called TOMCAT_HOME set somewhere. Matt (Raible), if you're reading t

RE: Tomcat/ Apache startup

2003-06-06 Thread Mark Eggers
David, I don't know about Redhat 7.3, but the default configuration in Redhat 9 restricts user "noone" and "nobody" so that network access does not work. I am using similar scripts, but installed Tomcat from the binaries and made two users. 1. tomcat is a normal user and has rw access to the /ho

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
He means there's no Connector listening on port 8009. You have a Connector configured in your server.xml for 8009 (the JK connection port). Do you have any firewalling software on this PC that would prohibit a connection on port 8009? John On Fri, 6 Jun 2003 15:54:16 -0400, Keith Adams <[EMAI

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
Thanks for your help. I did start tomcat before apache, and waited 1 minute. When I tried: telnet localhost 8009 I got a connection refused message. I also tried: telnet localhost:8090 8009 (since my apache is on 8090), same result. What do you mean, there is no listener? I'm a newbie, remember.

error: is currently unavailable

2003-06-06 Thread Leon Do
Hello, I always received this error message while attempted to access this servlet on a browser. Can anybody shed any light to this problem? 2003-07-07 15:34:46 StandardWrapper[:VolleyballRegistration3]: Marking servlet VolleyballRegistration3 as unavailable 2003-07-07 15:34:46 StandardWrapper

RE: Tomcat/ Apache startup

2003-06-06 Thread David Nelson
Hello John, Thanks for getting back to me. Regarding other processes, I'm pretty certain nothing is being started just because I installed Apache, tomcat and MySQL from source removing the apache that comes with RedHat. Previously I started those processes manually at prompt. Regarding scrip

RE: clear user session

2003-06-06 Thread Phillip Qin
Simple set the element value to null instead of removing it. -Original Message- From: Shyama Gavulla [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 3:28 PM To: [EMAIL PROTECTED] Subject: Re: clear user session -- Hi, Thanks for the reply. As you have said I was trying to make changes wh

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I would suggest your answer to another user a few minutes ago. Make sure you start tomcat before apache. I usaully wait 30 secs bewteen tomcat and apache Also after you start tomcat try telnet localhost 8009 to truly determine if the ajp connector is working. If you get connection refused, t

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Sorry, I'm stumped. Things look OK to me. Anyone else? John On Fri, 6 Jun 2003 15:35:27 -0400, Keith Adams <[EMAIL PROTECTED]> wrote: John You're correct in the first point. I fixed that (using the correct name "mod_jk-2.0.43.dll"). Yes, it's loading the mod_jk.conf, because if I run "apach

Re: Tomcat/ Apache startup

2003-06-06 Thread John Turner
What is your script trying to do? Start all of them? That's not the optimal configuration. You should really have 3 scripts, one for each. Start them up in sequence in rc3-5.d. MySQL, then Tomcat, then Apache. "Connection refused" generally means that something is already started on that p

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John You're correct in the first point. I fixed that (using the correct name "mod_jk-2.0.43.dll"). Yes, it's loading the mod_jk.conf, because if I run "apache.exe -t" from the command line and deliberately introduce an error into the mod_jk.conf, Apache reports the syntax error. When I remove

Re: clear user session

2003-06-06 Thread Shyama Gavulla
-- Hi, Thanks for the reply. As you have said I was trying to make changes while iterating over the loop. I cant do session.invalidate as I want the session to be valid but certain keys to be removed. I am using tomcat 4.1 and the same code in Jrun works fine . No errors. I wonder how that works

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
I notice that the LoadModule line in mod_jk.conf and the modJk parameter in server.xml are different, "mod_jk.dll" vs. "mod_jk-2.0.43.dll". Can you verify that the mod_jk.conf file you posted is actually the mod_jk.conf file that Apache is loading? Also verify syntax with "apache.exe -t" from t

Tomcat/ Apache startup

2003-06-06 Thread David Nelson
I'm sure this is cake to this list so here goes nothing. I really need some help. I've followed John Turners install instructions for tomcat 4.1.18 on RedHat integrating with Apache 2 and all works like a champ. Unfortunately, now that I'm trying to integrate a startup script for Tomcat, Apac

Re: Clear User Session

2003-06-06 Thread Tim Funk
Depending on who you talk to its a bug or not a bug in tomcat. session.getAttributeNames() returns an Enumeration. Under the covers, the Enumeration is actually a facade around an Iterator. Iterators are fail-fast so if you are enumerating through session attributes and make changes, you get th

Re: Sun JVM vs. JRockit

2003-06-06 Thread Peter Lin
from the benchmarks I ran, JRockit is faster than Sun VM on windows. On linux it wasn't stable enough. thought you might find that info interesting. peter lin Victor Popiol <[EMAIL PROTECTED]> wrote: Info for those interested in benchmarking Tomcat + JVM. Original configuration: Windows 2

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John Tomcat seems to start fine - no error msgs. Here's mod_jk.conf * ## Auto generated on Wed Jul 31 12:53:26 EDT 2002## LoadModule jk_module modules/mod_jk.dll JkWorkersFile "D:\jakarta-tomcat-4.1.18\conf\jk\workers.p

Re: jk2_init() Can't find child xxxxx in scoreboard

2003-06-06 Thread Scott Ahten
Mark, I did manage to get a bit further, but ran into unresolved symbol errors in catalina.out, which causes jk2 to disable JNI. I ended up using TCP/IP sockets instead. I'm planing on taking another crack at it, but don't have time at the moment. ~Scott On Thursday, June 5, 2003, at 08:29 A

Clear User Session

2003-06-06 Thread Shyama Gavulla
-- Hi All, I just moved my webapp from jrun to tomcat. I have a method which clears the user session. The code snippet is Enumeration session_var = session.getAttributeNames(); while(session_var.hasMoreElements()) { String key=(String)session_var.nextElement(); I am gettin

Re: Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Tim Funk
Use a filter. To catch the calls (or set the needed values) that are trying to do wacky cookiePath related things. -Tim Loyd Bacani wrote: Tim, I agree with you 100% about the "cookiePath" being a useless parameter. The issue I have is that, the existing web application is running in Weblog

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Can you post mod_jk.conf, server.xml, and workers.properties? Sounds to me like Tomcat isn't starting up, or there is something goofy with workers.properties. John On Fri, 6 Jun 2003 14:57:03 -0400, Keith Adams <[EMAIL PROTECTED]> wrote: John Thanks for getting back to me. The only log msg i

Tomcat stability under hpux 11.00 64 bit.

2003-06-06 Thread qaball
From: <[EMAIL PROTECTED]> Date: 2003/06/05 Thu PM 05:49:17 EDT To: [EMAIL PROTECTED] Subject: Instability under HP-UX 11.00 64bit Hello all. I'm having some stability issues while running tomcat 4.4.18 under hpux 64 bit. The tomcat server starts up just fine and serves out for a f

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Actually there is a very detail how-to on tomcat's site: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:38 PM To: Tomcat Users List Subject: Re: Tomcat Manager deploy and undeploy

RE: directory list

2003-06-06 Thread Phillip Qin
Tested. Looks like the web.xml in $CATALINA_HOME/conf is the only file to enable/disable listings and this init param either enable for all webapp or disable for all. Any input? -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:31 PM To: Tomcat Us

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John Thanks for getting back to me. The only log msg is in mod_jk.log and it reads: [Fri Jun 06 11:35:00 2003] [jk_ajp_common.c (1198)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 61 The error msg is below. Internal Server Err

Re: Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Loyd Bacani
Tim, I agree with you 100% about the "cookiePath" being a useless parameter. The issue I have is that, the existing web application is running in Weblogic and uses specific implementation like "cookiePath" and more. Now given that the application is using "cookiePath" as a "session parameter

RE: tomcat administration/manager

2003-06-06 Thread marco villarreal
Hello, So far this problems are solved. I used an editor to add the users on tomcat-users.xml file and it worked perfectly. Marco P.S. Now I am taking next step. -Mensaje original- De: marco villarreal [mailto:[EMAIL PROTECTED] Enviado el: Thursday, June 05, 2003 10:39 PM Para: [EMAIL PRO

Re: directory list

2003-06-06 Thread Dan Lipofsky
> > If I don't use apache at all, how do I disable directory listing in Tomcat? > Depends on the version of tomcat. Someone already gave the TC4 answer. For TC3 set the suppress flag in server.xml - Dan -

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
I have a feeling this is going to be a stumper...I just bumped my Win2K Apache to 8090 and its fine with both JSPs and servlets. Oh wait...the problem is numguess.jsp? Not a servlet? What's the error message on the screen? Is there anything in Tomcat's log files? John On Fri, 6 Jun 2003 14:

Re: ActiveDirectory not following referrals when using JNDIRealm

2003-06-06 Thread Bradley M. Handy
I figured it out. The credentials I was using the creation of the InitialDirContext didn't have enough permissions (for some weird reason). I got it to work when I used a different account. Brad Handy At 11:28 AM 6/6/2003, you wrote: I'm using Tomcat 4.1.24 (win32) and I have my JNDIRealm con

Re: check for session

2003-06-06 Thread Mark F
Thanks, worked like a charm, never used that before, very nice. The filtering mechanism though makes me wish I'd set up the app directory structure differently but you know hindsight 20/20 and all that... -Mark Shapira, Yoav wrote: | Howdy, | Consider using a Filter as follows: | | public void

RE: directory list

2003-06-06 Thread Vladimer Shioshvili
you learn something new every day, and sometimes even on fridays... ;-) At 02:40 PM 6/6/2003, you wrote: My God, having been coding Servlet/jsp for 3 years, never noticed that very beginning listings=false. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: June 6, 2

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
take a look at the CATALINA_HOME/webapps directory and look at manager.xml and admin.xml Those are context configuration files. When deploying a .war file (via the catalina ant manager "deploy" task), the context configuration file needs to be named "context.xml" and added to the "META-INF" d

RE: security of server.xml

2003-06-06 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
We have the people who deploy to our servers use the AES routines from http://www.bouncycastle.org/ and create encrypted username and passwords to place in the server.xml or web.xml and then decrypt in the java. Have not kept up to date on what routines sun provides in its packages these days. O

RE: directory list

2003-06-06 Thread Phillip Qin
My God, having been coding Servlet/jsp for 3 years, never noticed that very beginning listings=false. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:29 PM To: Tomcat Users List Subject: Re: directory list On Sat, 7 Jun 2003 02:28, Phillip Qin wro

Re: security of server.xml

2003-06-06 Thread John Turner
Yes, its out. It's only one-third "mine", though...there were several authors, as is the custom with Wrox Press. I'm not surprised your local store doesn't have a copy...its a fairly esoteric subject, all things considered. Probably explains the 34K+ sales ranking on Amazon, too. LOL John

RE: newbie question: mod_jk not working Win 2000

2003-06-06 Thread Keith Adams
John It's the first example servlet: http://localhost:8090/examples/jsp/num/numguess.jsp (I have Apache installed on port 8090 since we run IIS also.) Thanks, Keith -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 11:27 AM To: Tomcat Users Lis

Re: Struts Framework

2003-06-06 Thread manjunath . muthukumaresan
Go to http://jakarta.apache.org and you'll get the latest information. It's a framework based on MVC Model 2 and an open source project. Regards, Manju Programmer, IT - In matters of style, swim with the current. In matters of

Re: directory list

2003-06-06 Thread Vladimer Shioshvili
check out web.xml.. first default for the example, then the specific one.. At 02:28 PM 6/6/2003, you wrote: It is Friday. Let's ask some simple questions. If I don't use apache at all, how do I disable directory listing in Tomcat? Regards, PQ "The difference between 'involvement'

Re: directory list

2003-06-06 Thread Jason Bainbridge
On Sat, 7 Jun 2003 02:28, Phillip Qin wrote: > If I don't use apache at all, how do I disable directory listing in Tomcat? Please see the FAQ for a howto: http://tomcatfaq.sourceforge.net/configure.html Regards, -- Jason Bainbridge http://jblinux.org ---

Re: ISAPI Redirector

2003-06-06 Thread John Turner
This should get you going: http://tomcatfaq.sourceforge.net/windows.html and http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html John On Fri, 6 Jun 2003 13:46:26 -0400, Jeffrey Cummings <[EMAIL PROTECTED]> wrote: Thanks for your help... I need to use the jk connector since I am using I

Re: newbie question: mod_jk not working Win 2000

2003-06-06 Thread John Turner
Hi Keith - What's the URL you're accessing? Is it one of the examples servlets, or one of your own? John On Fri, 6 Jun 2003 13:39:24 -0400, Keith Adams <[EMAIL PROTECTED]> wrote: Hi I've laboriously followed instructions for linking Tomcat and Apache. When I try to run a servlet through Apac

Re: Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Tim Funk
If you are maintaining state via sessions, the session cookie is NOT configureable in tomcat. (Nor does it need to be) If you need SingleSignOn - look at the SingleSignOnValve cookiePath --> A useless parameter (imo) -Tim Loyd Bacani wrote: I am in the process of migrating all Servlets/JSP fr

Re: changing passwd in apache

2003-06-06 Thread John Turner
http://httpd.apache.org/ Click the appropriate link under "Documentation". John On Fri, 6 Jun 2003 12:06:14 +0530, Anil Garg <[EMAIL PROTECTED]> wrote: hi, i need to change the passwd for a user mentioned in /usr/local/etc/apache/users file. can some help me telling the command to be used. th

directory list

2003-06-06 Thread Phillip Qin
It is Friday. Let's ask some simple questions. If I don't use apache at all, how do I disable directory listing in Tomcat? Regards, PQ "The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'commi

Re: How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-06 Thread John Turner
Option 1: Apache plus a connector, either JK (mod_jk) or JK2 (mod_jk2) Option 2: Apache + mod_proxy The preference is for Option 1, you are welcome to use whatever works. John On Fri, 6 Jun 2003 11:33:20 +0200, Michael <[EMAIL PROTECTED]> wrote: I'd like to run Tomcat on port 80 but I don't

RE: security of server.xml

2003-06-06 Thread Phillip Qin
Is your book out? I couldn't find in local bookstore. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:19 PM To: Tomcat Users List Subject: Re: security of server.xml Java code can be decompiled. Easily. Rogue classes can be inserted into improperly

Migration issues in Tomcat 4.1.24 ( help)

2003-06-06 Thread Loyd Bacani
I am in the process of migrating all Servlets/JSP from Weblogic 6.1 to Tomcat 4.1.24. How or where can I configure the "cookiePath" in Tomcat 4.1.24? So that the web application can use this parameter. In Weblogic, the "cookiePath" is found in "weblogic.xml". It is part of the session parame

Re: I Really need help

2003-06-06 Thread Jason Bainbridge
I was bored at work during a nightshift so I did a bit of research but as Yoav stated this really belongs on the itext lists. From their FAQ: http://www.lowagie.com/iText/faq.html#jsp SUMMARIZED: iText for JSP is possible, but don't expect to get any support for it. I would say though glancing

Re: security of server.xml

2003-06-06 Thread John Turner
Java code can be decompiled. Easily. Rogue classes can be inserted into improperly configured packages. There's plenty more. If your UNIX-like OS is unstable enough to allow a file owned by root with permissions of 700 be viewable to various untrusted users, you've got bigger concerns on you

RE: Struts Framework

2003-06-06 Thread Phillip Qin
Jakarta.apache.org/struts -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:09 PM To: 'Tomcat Users List' Subject: RE: Struts Framework Ever heard of Google? http://www.google.com/search?q=struts -Original Message- From: Anitha K Rao [mailto:[

RE: Very strange behavior, please, HELP (GenericServlet problem, error 500)

2003-06-06 Thread Shapira, Yoav
Howdy, I'm so tired of typing this explanation ;( Your error is not a ClassNotFoundException. It's a NoClassDefFoundError. They are different. It happens because you have multiple copies of servlet.jar in your classpath. One of this copies, likely the one /usr/java1.2, is old. Your manipulat

RE: Very strange behavior, please, HELP (GenericServlet problem, error 500)

2003-06-06 Thread Phillip Qin
- did you do the Servlet mapping in web.xml? - Editing CLASSPATH in Tomcat's script only makes things worse. Classloader is smart enough to load all the necessay jars. - my CLASSPATH only contains tools.jar and .; - my PATH only contains $JAVA_HOME and %ANT_HOME/bin -Original Message- From

RE: I Really need help

2003-06-06 Thread Shapira, Yoav
Howdy, The error is from your iText package. Look in its documentation or post your question on their mailing list for better chance at a meaningful response. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Ing. Omar Rojas Gastélum [mailto:[EMAIL PROTECTED] >Sent: T

RE: Struts Framework

2003-06-06 Thread Raible, Matt
Ever heard of Google? http://www.google.com/search?q=struts -Original Message- From: Anitha K Rao [mailto:[EMAIL PROTECTED] Sent: Friday, June 06, 2003 4:12 AM To: Tomcat Users List Subject: Struts Framework Hi, Whats This Struts Framework?Kindly give me info in this domain. Ciao

Re: clustering

2003-06-06 Thread Ben Ricker
You seem to be confused (or maybe it is me). You are not doing clustering. You are trying to do session replication across Tomcats. If you are not using something like Apache in the front, how will the user ever know to switch from 8000 to 8001? They will never know. Clustering is a totally differ

RE: clustering

2003-06-06 Thread Filip Hanik
remove the old javagroups jars, they are not valid unless you are running 4.0.x. The new stuff is in http://cvs.apache.org/~fhanik/ also, you will need a loadbalancer in order to not change the URL, because changing the URL (the port) will cause the browser to not send up the session cookie. the

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Just move your .. from server.xml to an XML file. There are two naming styles: 1. Deploy by Tomcat Manager: - name this file "context.xml" and package it into META-INF - make myapp.war; - run ant deploy, myapp.war is uploaded to work/../manager and contexnt.xml is extracted to the same dir

Re: Tomcat stability under hpux 11.00 64 bit.

2003-06-06 Thread Tim Funk
Make sure when issue the kill that you are the same user id as the running process. If you can't get a JVM stack trace , then there is something wrong with the JVM or OS. (read: make core dumps and bug HP) No matter how badly any program is written, the JVM should always provide a stack trace.

Struts Framework

2003-06-06 Thread Anitha K Rao
Hi, Whats This Struts Framework?Kindly give me info in this domain. Ciao

How can I run tomcat on port 8080 and have the users think it's on port 80?

2003-06-06 Thread Michael
I'd like to run Tomcat on port 80 but I don't want to run it as root. Is it possible to run it on 8080 yet have the users access it via port 80? My admin has set it up this way but the problem is all relative links in my app show up as :8080. So once the user clicks on a link they see 8080 from

RE: tomcat service running at 100% cpu ... formerly RE: -Xincgc, -Xms600, -Xmx600

2003-06-06 Thread Shapira, Yoav
Howdy, Seems like a JK connector issue. I personally can't help much there ;( >- onehundred.txt is the thread dump when tomcat is at 100% cpu. NOTE that >no applications are running inside Tomcat. Umm, it does seem like there are all the standard apps (ROOT, admin, manager, examples, tomcat-doc

  1   2   3   >