SSL with Tomcat

2003-01-28 Thread Yakov Belov
Dear All, I am trying to use Tomcat over SSL. I have followed the HOWTO: SSL in hte Tomcat Docs, i.e. downloaded the three needed jar files, created a ./keystore file and specified its location in the web.xml file. I have also uncommented the SSL Connector section in the web.xml file. Now when I

Re: SSL with Tomcat

2003-01-28 Thread list
hi! you may start tomcat with: -Djavax.net.debug=all or with: -Djavax.net.debug=ssl then you can 'see' whats going on during ssl handshake! Yakov Belov wrote: Dear All, I am trying to use Tomcat over SSL. I have followed the HOWTO: SSL in hte Tomcat Docs, i.e. downloaded the three needed jar

Re: SSL with Tomcat

2003-01-28 Thread Yakov Belov
Thanks, but I don't use a command line to run Tomcat (everything is started via the web)- where exactly do I type this parameters in? - Original Message - From: list [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 7:08 PM Subject: Re: SSL with

AUTO {ICICICARE#002-039-416}Antwort: PersistentManager with FileStore

2003-01-28 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

AUTO {ICICICARE#002-039-418}SSL with Tomcat

2003-01-28 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

AUTO {ICICICARE#002-039-421}SSL with Tomcat

2003-01-28 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

Re: HTTPS -- HTTP redirecting

2003-01-28 Thread Bill Barker
[EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of

AUTO {ICICICARE#002-039-476}HTTPS -- HTTP redirecting

2003-01-28 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

RE: SSL with Tomcat

2003-01-28 Thread Turner, John
What do the regular Tomcat logs say? John -Original Message- From: Yakov Belov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:13 AM To: Tomcat Users List Subject: Re: SSL with Tomcat Thanks, but I don't use a command line to run Tomcat (everything is started via the

RE: PHP servlet

2003-01-28 Thread Turner, John
Sounds like your Apache DSO file was compiled against an earlier version of Apache. That has nothing to do with Tomcat. John -Original Message- From: Jerry Birchler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 1:59 AM To: Tomcat Users List Subject: RE: PHP servlet I

AUTO {ICICICARE#002-040-330}SSL with Tomcat

2003-01-28 Thread NRI Cell
Dear Sir/Madam, We have received your e-mail and shall respond to you shortly. Regards ICICI Bank NRI Services Centre

Catching 401 Error

2003-01-28 Thread Rajesh Kanade
Hi All I have written a web application which has main servlet class. We have a form which has basic authentication. When the user cancels the authentication form shown to him in the browser, We want to capture the 401 error and dispaly it in a our own custom error page. but we are unable to do

RE: AUTO {ICICICARE#002-040-330}SSL with Tomcat

2003-01-28 Thread Arnaud HERITIER
Is it possible to STOP this auto-reply on the mailing list??? Thanks Arnaud -Message d'origine- De : NRI Cell [mailto:[EMAIL PROTECTED]] Envoyé : mardi 28 janvier 2003 12:06 À : Tomcat Users List Objet : AUTO {ICICICARE#002-040-330}SSL with Tomcat Dear Sir/Madam, We have

Re: Doubt in Single Sign On !!!

2003-01-28 Thread shanmugampl
Hi, Can i extend the SingleSignOn class, and specify my class in the server.xml file. I tried it and got an exception, 'ManagedBean not found for MySSO'. If i can extend and specify then how should i do it. Thanks Shanmugam.PL shanmugampl wrote: Yeah, I accept that SSO is for

Apache(mod_webapp) - Tomcat 4.1.* many-to-one connections ?

2003-01-28 Thread Morgan Pyne
Hi all, I have several Apache servers on different machines each hosting 2 virtual domains (e.g. www.production.mydomain.com www.development.mydomain.com) I have a single Tomcat v4 instance running on another machine which also hosts both these virtual domains. I have defined a Warp connector

sendRedirect() fails on first call only within a session

2003-01-28 Thread Varley, Roger
Hi I'm using IIS to serve the top level html pages from a web application that runs under Tomcat 3.2. The first page (default.htm) in the top level directory (http://domain/applicationname is displayed and prompts for userid and password and passes this data to a servlet

Re: Serving files from the Apache docroot

2003-01-28 Thread Peter Flynn
John writes: There's no need to mirror content in two directories, nor is there any need to point Tomcat at Apache's content root. You can just make Apache's doc root the same as Tomcat's Context root and the issue goes away. Or, just put your JSP and servlets in Tomcat's doc root and

Re: Serving files from the Apache docroot

2003-01-28 Thread Peter Flynn
Henning wrote: I had and have the same problem - and didn't find a solution yet. A more or less good workaround I discussed with (or better was a suggestion by) Mike Bachrynowski (who is also member on the list) could be to completely mirror the apache docroot to the tomcat docroot. This in

Tomcat 4.1.18 Anyone know how to define global JNDI resource

2003-01-28 Thread Robin Wierenga
Hi ! I want to define some sort of global JNDI resource in my server.xml configuration file. I know setting the crossContext=true will enable sharing but has certain security implications which I'm unaware of. A. Is this possible B. How to do it ? Thanks, Robin - Tomcat newbie -- To

Re: Serving files from the Apache docroot

2003-01-28 Thread Kief Morris
Peter Flynn typed the following on 11:58 28/01/2003 + There's no need to mirror content in two directories, nor is there any need to point Tomcat at Apache's content root. You can just make Apache's doc root the same as Tomcat's Context root and the issue goes away. Or, just put your JSP

Re: Serving files from the Apache docroot

2003-01-28 Thread Peter Flynn
Henning writes: that sounds interesting to me, I don't need tomcat as http on port 8080, does anyone know how the idea can be realized? I think this has been asked ad nauseam on the Cocoon list, and I think I read that it wasn't advised because Tomcat was not designed to be secure in the way

Re: JSP not forwarded to Tomcat

2003-01-28 Thread Pascal Robert
I think it's a context problem, but I don't know how to fix it. I have this directory: /Library/WebServer/Documents/clic-agent.com Inside this directory, I have a mix of HTML and JSP files, and one WEB-INF directory (with the default 'lib' and 'classes' directories). I DON'T have a ROOT

Re: Antwort: PersistentManager with FileStore

2003-01-28 Thread Kief Morris
[EMAIL PROTECTED] typed the following on 08:56 28/01/2003 +0100 I want to store session information on filesystem so that it is possible for me to restart tomcat without loosing all sessioninformations. First of all, you don't need to use PersistentManager to do this - the default session manager

RE: Serving files from the Apache docroot

2003-01-28 Thread Turner, John
What exactly is your question? If you want Tomcat to be your HTTP server, setup CoyoteConnector to listen on port 80 instead of 8080, restart Tomcat, and call it good. What's the issue? As far as a replacement goes, it's a given that Apache is going to be better than Tomcat at serving static

Re: JNDI jdbc resources

2003-01-28 Thread Paul Carpenter
Interesting. I'll have a play. But that url string works with DBVisualizer (which is also jdbc based). So maybe not, as I think this is correct for SYbase (I get the same problem with mySql, even vut'n'paste examples give the same problem ? The db driver (jconn2.jar) is in common/lib -

Re: Serving files from the Apache docroot

2003-01-28 Thread Holger Klawitter
I don't know how Tomcat would or would not scale as a replacement for Apache on a big site, but it would certainly be nice to have it run on port 80 as a replacement for Apache. My suggestion for the FAQ: QUESTION: How can I make Tomcat serve at port 80 instead of 8080 on a UNIX system?

RE: Serving files from the Apache docroot

2003-01-28 Thread Turner, John
-Original Message- From: Peter Flynn [mailto:[EMAIL PROTECTED]] As far as I understood the mayor cause for all this is, that jk2 developers due to performance reasons don' t want to send back requests (for images, .js, .css ...) to the apache and - what you and Mike and I want

RE: JSP not forwarded to Tomcat

2003-01-28 Thread Turner, John
OK, you told us the Host and the appBase, what do you have for Context and docBase? John -Original Message- From: Pascal Robert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 7:37 AM To: Tomcat Users List Cc: Tom Holmes Jr. Subject: Re: JSP not forwarded to Tomcat

Error 146 from mod_jk

2003-01-28 Thread Dick Perkins
We are running Apache (1.3.27) and Tomcat (3.3.1) on separate servers, connecting them using mod_jk (1.2.2). The system is lightly loaded - there are hardly any parallel requests. After a few days operation Apache fails to communicate with Tomcat leaving errors in the mod_jk log: ...

RE: getting java.lang.NoClassDefFoundError

2003-01-28 Thread Davidson, Greg
Yeah, I read that, here is the problem: I want to run Tomcat from my local PC. I want to load the *.classes from a network drive (for night backup purposes) not my local drive. (I've changed the class path in the catalina.bat, but I don't like this) I want to run the *.jsp from a network drive

Antwort: Re: Antwort: PersistentManager with FileStore

2003-01-28 Thread Dietmar . Mueller
Hey Kief, thanks for your answer. I try without my wrapper and get also the Exception. I got: D:\tomcat\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: d:\jdk1.3 Starting service kbhsrv03 Apache Tomcat/4.0.6 Starting

tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
Hi guys, I'm new to tomcat/jakarta and have just installed it (v4.1.18 - precompiled binaries from the site) on my Linux server. I replaced every occurence of localhost with my servername (which is resolvable) - and I have added a test-user with admin/manager roles. When I login, I can access

Re: JSP not forwarded to Tomcat

2003-01-28 Thread Pascal Robert
Ok, I got it to work with: - workers.properties : --- worker.list=test worker.test.port=8009 worker.test.host=test.clic-agent.com worker.test.type=ajp13 --- - httpd.conf: --- ServerName test.clic-agent.com JkMount /*.jsp test JkMount /servlet/* test --- -

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
Do you have a file called admin.xml in $CATALINA_HOME/webapps? John -Original Message- From: klavs klavsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 9:07 AM To: [EMAIL PROTECTED] Subject: tomcat/manager works - tomcat/admin = 404. Hi guys, I'm new to

Can the JNDI Connection Pool re-connect after failure?

2003-01-28 Thread Ryan Cornia
I have set a JNDI connection pool up in server.xml that works, however if the database server goes down, it doesn't re-connect when it comes back up. Anyone using JNDI datasources that reconnect in case of a lost link to the DB server? Any examples? I'm using the I-net driver for Oracle.

Re: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Patrick Renan
Yes - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 12:41 PM Subject: RE: tomcat/manager works - tomcat/admin = 404. Do you have a file called admin.xml in $CATALINA_HOME/webapps? John

Re: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Patrick Renan
Sorry, its not for you - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 12:41 PM Subject: RE: tomcat/manager works - tomcat/admin = 404. Do you have a file called admin.xml in $CATALINA_HOME/webapps?

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 15:41, Turner, John wrote: Do you have a file called admin.xml in $CATALINA_HOME/webapps? output of ls -l /opt/jakarta/tomcat/webapps/ drwxr-xr-x3 root root 208 Jan 27 15:56 ROOT -rw-r--r--1 root root 701 Jan 28 14:22 admin.xml

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
Check your timestamps. It's been changed. What has been changed in that file? What are its contents? John -Original Message- From: klavs klavsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 9:56 AM To: Tomcat Users List Subject: RE: tomcat/manager works -

RE: Serving files from the Apache docroot

2003-01-28 Thread Daniel Brown
Alternatively, if you can find an OS that implements process/file capabilities, you should be able to grant the JVM the capability to bind to ports below 1024. The doco. for the 2.4 Linux kernels suggests this might be in there - anyone know if it's sufficiently mainstream, and suitable for this

Upgrading to new version of Tomcat

2003-01-28 Thread Victor Popiol
Hi. I am currently running Tomcat 4.1.12 in a production environment. I would like to upgrade to 4.1.18. Can anybody suggest the simplest, fastest way to do it? I have made considerable changes to the configuration files. I am not sure if there are any compatibility issues. Regards Victor

RE: Upgrading to new version of Tomcat

2003-01-28 Thread Shapira, Yoav
Howdy, Don't simply copy over the old installation. Do a clean installation of 4.1.18. Ensure the installation is OK by checking the servlet and JSP examples, as well as the manager and admin webapps if you use them. Then make your configuration file changes (do not copy over the configuration

java.lang.Exception : VerifyError with Tomcat 4.1.x

2003-01-28 Thread Hylla, Heiko (Heiko)
Does anybody know why I get this exception when I try to load one of my self written classes within a servlet ? Everything works fine with Tomcat 4.0.x . Heiko

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 15:59, Turner, John wrote: Check your timestamps. It's been changed. What has been changed in that file? What are its contents? Sorry. Yes I changed the logfile to log to server.mydomain.dk_log.. instead of localhost. But that should change anything - and the problem

RE: Serving files from the Apache docroot

2003-01-28 Thread Turner, John
I also saw a discussion on tomcat-dev on how to use chroot to do it, as well, but it didn't look easy. John -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 10:14 AM To: Tomcat Users List Subject: RE: Serving files from the Apache

RE: java.lang.Exception : VerifyError with Tomcat 4.1.x

2003-01-28 Thread Shapira, Yoav
Howdy, Did you compile the servlet against a different version of the class than the one on your classpath? Do you have multiple version of the class you're trying to load on your classpath? Either of those may cause this error. Yoav Shapira Millennium ChemInformatics -Original

Re: Upgrading to new version of Tomcat

2003-01-28 Thread David Boyer
Copy the 4.1.18 jars from /common/lib and /server/lib to their respective location in your current Tomcat installation. Optionally, also copy the contents of /server/webapps/admin, /server/webapps/manager, and /webapps if you want to upgrade these applications as well although you'll want to be

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
Does that file get created? Admin.xml is no different than manager.xml. If /manager is working, /admin should work as well. My guess is there is something on the filesystem (permissions, etc) that is preventing Tomcat from deploying the admin app, though I could easily be wrong. John

Antwort: Re: Upgrading to new version of Tomcat

2003-01-28 Thread Dietmar . Mueller
How important is /bin/bootstrap.jar? Dietmar David Boyer [EMAIL PROTECTED] am 28.01.2003 16:27:31 Bitte antworten an Tomcat Users List [EMAIL PROTECTED] An:[EMAIL PROTECTED] Kopie: Thema: Re: Upgrading to new version of Tomcat Copy the 4.1.18 jars from /common/lib and /server/lib to

RE: Property file not picked up right by servlet

2003-01-28 Thread SRamanujan
Hello! You were very right. I had the setenv and setclasspath being called from Catalina.bat but somehow the tomcat was not picking this up correctly. Perhaps because of XP? I then went to control panel and set all the environment variables classpath which then picked up my property file

JSESSIONID cookie with Tomcat 4.0.6

2003-01-28 Thread Antonio M Lopez Perez
Hi We have a number of web applications running under the same domain name, on different ports. Each application runs under a separate Apache (1.3.14) and Tomcat (4.0.6) instance. Due to functional requirements, these applications call each other, opening up new browser windows to move the user

RE: getting java.lang.NoClassDefFoundError

2003-01-28 Thread Barclay A. Dunn
getParameter() is misspelled. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 8:57 PM To: Tomcat Users List Subject: Re: getting java.lang.NoClassDefFoundError On Mon, 27 Jan 2003, Davidson, Greg wrote: Date: Mon, 27 Jan 2003

RE: Antwort: Re: Upgrading to new version of Tomcat

2003-01-28 Thread Ralph Einfeldt
As it contains StandardClassLoader and ClassLoaderFactory I consider it quite important in general. If the changes in this jar between 4.1.18 and other versions are important I don't know. I prefer clean installs of the tomcat versions, so I never had to bother. (We install the versions in

Using Jikes with IBM JDK

2003-01-28 Thread Brandon Cruz
I am have been using the Jikes compiler for about a month. Recently, we switched to the IBM JDK and jikes will not compile any pages. We get an error like shown below... StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to

How do Slide and Manager App relate in Tomcat 4.1?

2003-01-28 Thread Mariateresa Sabbatini
Can I use Slide to upload (through MS WebFolder) a web application war file from a PC to the webapps folder on my Unix installation of Tomcat, and then use Manager App to install the new web application? Thanks, Mariateresa Mariateresa Sabbatini Developer 512.908.1125 voice 512.908.4450

Re: Apache to JKMount everything

2003-01-28 Thread Pascal Forget
Lajos wrote: You can do: JkMount /* ajp13 JkMount /*.jsp ajp13 where ajp13 refers to the worker name in workers.properties. But if you are doing that, why use Apache? Because Apache may startup as root (because of port 80 or 443) while tomcat runs as nobody Pascal -- To unsubscribe,

RE: java.lang.Exception : VerifyError - Cannot inherit from final class with Tomcat 4.1.x

2003-01-28 Thread Hylla, Heiko (Heiko)
I've checked this several times but I have only one correct version of my class in the classpath. I also checked different machines with the same result. Every time I switch from 4.0.x to 4.1.x I get the Exception above. Regards Heiko -Original Message- From: Shapira, Yoav

RE: Apache to JKMount everything

2003-01-28 Thread Raible, Matt
We also use this setup so that we can run multiple instances of Tomcat behind one Apache server - we just setup different virtual hosts in Apache. I agree that Apache isn't doing much in this case, but it is helping us... Matt -Original Message- From: Pascal Forget [mailto:[EMAIL

Context problem, urgent!

2003-01-28 Thread Peng Annie / FINLAND
Hi, In Tomcat4, I can not get the right context of other webapp from my app. My app is set as the doc root. For example I have configuration like Context path= docBase=MyApp debug=0 reloadable=true crossContext=true/ Context path=/OtherApp docBase=OtherApp debug=0 reloadable=true

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 16:29, Turner, John wrote: Does that file get created? Admin.xml is no different than manager.xml. If /manager is working, /admin should work as well. My guess is there is something on the filesystem (permissions, etc) that is preventing Tomcat from deploying the

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
Yes, you can run it as a non-root user. That's what I do. Tomcat is pretty self-contained. Is there anything in the logs about the admin application? It's very strange to me that /manager would work, but /admin would not. They are both configured for auto-deploy. What happens if you move

RE: Context problem, urgent!

2003-01-28 Thread Shapira, Yoav
Howdy, Try not having Context elements in server.xml for either of your contexts, and see what happens. Yoav Shapira Millennium ChemInformatics -Original Message- From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 10:44 AM To: '[EMAIL PROTECTED]'

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 17:06, Turner, John wrote: Yes, you can run it as a non-root user. That's what I do. Tomcat is pretty self-contained. Is there anything in the logs about the admin application? It's very strange to me that /manager would work, but /admin would not. They are both

mod_jk config problems

2003-01-28 Thread Chris Faulkner
Hello I am trying to configure mod_jk to link Apache to Tomcat which I have done before with TC 3 and 4.0. I am trying to do it with 4.1.18/Apache 1.3. There is no sample workers.properties file with 4.1.18 - is this deliberate ? Anyway, I made my own but I can't get my requests through ! The

JK vs. Standalone?

2003-01-28 Thread Mark O'Neil
Hello, I may be a bit confused, but here goes anyway: My understanding is that JK 'binds' tomcat to apache so that instead of running a servlet or jsp via the Tomcat port http://my- host:8080/my-servlet you can run it via apache directly http://my- host/my-servlet - correct? The question then

RE: mod_jk config problems

2003-01-28 Thread Turner, John
Check the logs...it is looking for locahost, not localhost. Note the missing l. Here's the minimum required workers.properties file: # BEGIN workers.properties # Definition for Ajp13 worker worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # END

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
Ah, now we are getting somewhere: - Root Cause - java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1313) at java.io.File.createTempFile(File.java:1401) at

Re: HTTPS -- HTTP redirecting

2003-01-28 Thread luk
Quoting Bill Barker [EMAIL PROTECTED]: AFAIK, using absolute URLs is the only supported way to go. However, it would be easy enough to write a Filter that does the redirect for you: public class MyFilter implements Filter { public void init(FilterConfig conf) {} public void destroy()

Problems with Apache-Tomcat, URL-rewriting in SSL

2003-01-28 Thread Jason Coben
I aplogize if this has been addressed, previously. I've spent hours searching for the Answer but have come up empty. I am running Tomcat 4.1.18 on Redhat 8. I've followed the instructions at jakarta.apache.org for installing/running SSL and everything is working as expected, I can open an SSL

Wanted: Documentation on HTTP/RMI Tunnelling

2003-01-28 Thread Richard Heintze
Can someone give the the URL where it explicitly says that Tomcat supports Java RMI/HTTP tunneling (with callbacks) on Port 80? Thanks, Siegfried - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: Tomcat to LDAP over SSL

2003-01-28 Thread Petar Lalovic
Hi, In case anyone is interested, I have solved my problem. I used the JNDIRealm for Tomcat 4 found on this site http://www.peacetech.com/java/files/apache/tomcat/ and added the following 2 lines to my code: System.setProperty(javax.net.ssl.trustStore,

Servlet Context Problem

2003-01-28 Thread Lior Shliechkorn
Hello, I'm having problems with the ServletContext object. When I acquire the context, it just gets the path to my webApp, right? The servlet will then know what webApp it's under. Ok, so I tried to make it work with a servlet to forward to another page. Now the servlet is mapped as

Re: RE: mod_jk config problems

2003-01-28 Thread Chris Faulkner
Check the logs...it is looking for locahost, not localhost. Note the missing l. Ouch. I had just spotted it after sending the email - I altered it to use my hostname instead and realised that worked. In my defence, the mistake is on the online documentation, although I should have read it

RE: JK vs. Standalone?

2003-01-28 Thread Turner, John
You can just run Tomcat on port 80 if that's what you want. Many people have many different reasons for using Apache: - Apache doesn't run as root on port 80 - Apache has other capabilities (mod_rewrite, etc.) - Apache is better at serving static content...for a heavy traffic site this can make

RE: RE: mod_jk config problems

2003-01-28 Thread Turner, John
Thanks for the heads-up. John -Original Message- From: Chris Faulkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:40 AM To: Tomcat Users List Subject: Re: RE: mod_jk config problems Check the logs...it is looking for locahost, not localhost. Note the

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread klavs klavsen
On Tue, 2003-01-28 at 17:24, Turner, John wrote: Ah, now we are getting somewhere: - Root Cause - java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1313)

RE: sendRedirect() fails on first call only within a session

2003-01-28 Thread Varley, Roger
I've done some more investigation. If I replace 'response.sendRedirect(response.encodeRedirectURL(../default.htm))' with 'response.sendRedirect(../default.htm);' then everything works as expected, so there is something about response.encodeRedirectURL() that I'm not uderstanding. I've looked

Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Christian Cryder
Hey folks, has anyone observed scenarios where Tomcat appears to ignore the -Xmx param? We are running 4.1 as a service on Win 2000 Pro, and have manually uninstalled/reinstalled the tomcat service as follows: to uninstall: - tomcat.exe -uninstall Apache Tomcat 4.1 to install:

RE: tomcat/manager works - tomcat/admin = 404.

2003-01-28 Thread Turner, John
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930) is equal to: org/apache/catalina/startup/ContextConfig/tldScanJar(ContextConfig.java:930) ...but that class is probably in struts.jar...you'd probably need to download the source distro and look there. I'm hoping

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Shapira, Yoav
Howdy, I've never had that problem, and I use (and test) -Xms and -Xmx with every tomcat release. However, I only test the platforms I care about -- Linux and Solaris -- and so I can't vouch for Windows... Yoav Shapira Millennium ChemInformatics -Original Message- From: Christian

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-28 Thread Boris Folgmann
Ryan Cornia wrote: Anyone using JNDI datasources that reconnect in case of a lost link to the DB server? Any examples? I'm using the I-net driver for Oracle Interesting question. In fact I have the same problem, using DBCP and PostgreSQL. I looked trough the Javadocs at

RE: Can the JNDI Connection Pool re-connect after failure?

2003-01-28 Thread Shapira, Yoav
Howdy, This would likely be an implementation detail, not specified by the JNDI interface contract (at least at this point in time). In fact, an implementation that does this would claim it as a competitive advantage. I believe the Oracle JDBC driver and connection pool (ojdbc14.jar in the

RE: getting java.lang.NoClassDefFoundError

2003-01-28 Thread Tim Moore
-Original Message- From: Davidson, Greg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 8:57 AM To: 'Tomcat Users List' Subject: RE: getting java.lang.NoClassDefFoundError Yeah, I read that, here is the problem: I want to run Tomcat from my local PC. I want to

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Hari Venkatesan
How did you find out it is ignoring -Xmx parameter. Initially when you start up tomcat, it would allocate only the minimum heap that you set in -Xms. Hari -Original Message- From: Christian Cryder [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:49 AM To: Tomcat-User

RE: getting java.lang.NoClassDefFoundError

2003-01-28 Thread Shapira, Yoav
Howdy, I want to load the *.classes from a network drive (for night backup purposes) not my local drive. (I've changed the class path in the catalina.bat, but I don't like this) I wouldn't like it either if I were you ;) Besides posing a security risk (e.g. someone remapping the network

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Christian Cryder
What we are doing is running Tomcat as a service on a production server; we specify both -Xmx and -Xms values. What we are seeing is that after several days of use, Tomcat is well over the max, by a magnitude of 100+ MB. Our experience has been that when we run it manually it seems to stay within

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Shapira, Yoav
Howdy, As an aside, and this applies for windows as well as linux/solaris: -Xms and -Xmx control the size of the JVM heap. That's not the total JVM size. There are other spaces, e.g. the stack, symbol tables, and OS process overhead, that contribute to the overall process size. How much they

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Christian Cryder
As an aside, and this applies for windows as well as linux/solaris: -Xms and -Xmx control the size of the JVM heap. That's not the total JVM size. There are other spaces, e.g. the stack, symbol tables, and OS process overhead, that contribute to the overall process size. How much they

RE: Where does request.getServerName get name from?

2003-01-28 Thread Januski, Ken
Craig, I guess I shouldn't be surprised that you are right on the money! I hadn't noticed that I had an old bookmark for the second page that used an IP in the address. So as you said the host header was the IP because that's what the browser used and so getServerName returned the IP address.

Configuration Variables

2003-01-28 Thread Jim Henderson
I can not seem to find this in my books, can someone explain this? What WAR file web.xml parameter can be used to pass application wide (not just a single Servlet or JSP) configuration data to JSP/Servlet that also is adjustable from Tomcat-Administrator control page, and what Java methods

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Shapira, Yoav
Howdy, Ok, so this _is_ what I'm basing it on (looking at MS's Task manager). BUT...it still doesn't seem reasonable that the actual memory used is 150 MB than the limit specified to the JVM. In other words, if I tell the JVM -Xmx512 and the OS Task Mgr is reporting that Tomcat is using 670 MB,

Cannot load JDBC driver class 'null'

2003-01-28 Thread Raible, Matt
I keep getting the following error in my catalina.out file. This same application starts up just fine when it has a context path of /cct, but I get the errors when I use path=. Any ideas? WARN [main] JDBCExceptionReporter.logExceptions(35) | SQL Error: 0, SQLState: null ERROR [main]

Driver for connecting to a AS/400

2003-01-28 Thread Gustavo Rojas
What is the driver that i have to use to connect to a AS400, for make consults to a database DB2 that is in the AS400. from a Tomcat 4.1 configured for default, running in a Mandrake linux 8.2. I have the jt400.jar in $CATALINA_HOME=/common/lib/jt400.jar, some guys toll us that this is the

RE: Configuration Variables

2003-01-28 Thread Shapira, Yoav
Howdy, Context parameters are available to anything running within your context as long as the server is up. You access them from a servlet (any method in the servlet, not just init(), using getServletContext().getInitParameter(paramName); Context parameters are not typically tunable at runtime

RE: Tomcat 4.1 ignoring -Xmx params

2003-01-28 Thread Januski, Ken
Christian, I'm not sure about this at all but I believe that all services show up in registry. Did you check to see if the -Xms and -Xmx values are set there? I think they should be set as JVM option values. If they do show up then I'd guess that you've installed the service correctly. But as I

TOMCAT ALONE

2003-01-28 Thread x x
Can I use the tomcat just like a web sever without the apache. I have runnig a tomcat 4.1.18 in a Mandrake linux. Or I have to put the tomcat to work together with apache. thanks. Fabian __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.

RE: TOMCAT ALONE

2003-01-28 Thread Turner, John
Yes, you can use Tomcat alone. John -Original Message- From: x x [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 12:51 PM To: Tomcat Users List Subject: TOMCAT ALONE Can I use the tomcat just like a web sever without the apache. I have runnig a tomcat 4.1.18 in a

Tomcat 3.3.1

2003-01-28 Thread Kevin Luu
I am currently running Tomcat 3.3.1 on Windows 2000. I am running it from a batch file. It is unable to run as a Service in Windows 2000. It continues to stop frequently for no reason. I have to run the batch file to restart Tomcat. Is there a bug or fix for this issue? Thank you for your help.

RE: Driver for connecting to a AS/400

2003-01-28 Thread Hari Venkatesan
You have to JT400.jar file to make DB connections to the 400. The Driver Class name you can use is com.ibm.as400.access.AS400JDBCDriver. Remember that this driver is type 4 driver. You need not make any changes to the as400. You can connect to the database with your username and password. Hari

Re: RE: mod_jk config problems

2003-01-28 Thread vivek karkun
on the same note i have some issues with mod_jk, i did post a message on my problem but didnt show up, hope someone can help me out, thanks in advance. I am having a problem with stronghold(apache 1.3) and tomcat 4.1.18 using the mod_jk module on solaris 8. Here are the modification i did to

  1   2   3   >