RE: TomCat 3.2.3 not respond suddenly.

2002-07-03 Thread Vikramjit Singh
check the logs in tomcat, if none, then your MAXIMUM OPEN CURSORS EXCEEDED error might be there, which causes no furthere interaction with oracle, and you have to restart the server. This error occurs, if you dont close the connections, or resultset. You could check that. Regards, Vikramjit

Tomcat 3.3.1 with Apache 2.0.39 on Red Hat 7.1 - doable?

2002-07-03 Thread John Rowling
This seems unnecessarily difficult. I have a system running a stable app using Tomcat 3.2.4 and Apache 1.3.xx. For obvious reasons Apache needs an upgrade so why not go straight to 2.0.39 with Tomcat 3.3.1? Sounds like a good plan until you try to get mod_jk working. After being misled by

RE: apache2.0.39 + tomcat4.1.x Virtual Hosts

2002-07-03 Thread Rupert Young
How do you have your JkMount ? Is it inside the VirtualHost directive ? If not, then I think thr apps will be global. Rupert -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: 02 July 2002 18:28 To: Tomcat Users List Subject: apache2.0.39 + tomcat4.1.x Virtual

JSP Issue and I need a Solution from Tomcat end

2002-07-03 Thread MVS Bhargav
Dear All, I have a problem and want to know if there is any solution from the Tomcat that I can do to handle the issue. Environment Explanation: -- I have a web application built in (JSP, HTML, JavaScript, Beans) on the Tomcat 3.2.2 version for Linux environment.

Re: Tomcat 4 - OpenSSL - IE client certificate works partially

2002-07-03 Thread Henrik Schultz
Hi Peter, Thanks for your reply. We can all use a day off now and then :-) In the meantime I have cracked the nut...! Yes, really!! Last night I succeeded in sending a self-generated certificate from IE to Tomcat that was verified and accepted and let me in on the site. I still have to sort

Re: TomCat 3.2.3 not respond suddenly.

2002-07-03 Thread TEOH KANG YIH
Hi Ralph, Thanks for your reply first. If there is no error message in the logs, I guess it's a deadlock in the database. Reply: The thing that I do not understand is why do you think it could be a deadlock in DB because I just restart TomCat but not Oracle, the TomCat can talk to Oracle

small tomcat embedded installation

2002-07-03 Thread Sebastian Rembisz
Hi. Can I find somewhere set of steps to propere tomcat embedded installation ? I want to embede tomcat in my application and use org.apache.catalina.startup.Embedded class, but i want to my program be as simple, as possible. It will run under windows so i want just one exec which startup my web

AW: small tomcat embedded installation

2002-07-03 Thread Ralph Einfeldt
If you don't use jsp's or deliver the jsp's precompiled (jspC) with your application you don't need tools.jar. If you need tools.jar you don't have to distribute a jdk, it's enogh to use a jre + tools.jar. AFAIK sun has changed the license to enable this kind of setup. -Ursprngliche

AW: TomCat 3.2.3 not respond suddenly.

2002-07-03 Thread Ralph Einfeldt
What I was thinking about is something like Thread 1: lock resource A (Resource can be a certain row in the database) Thread 2: lock resource B Thread 2: lock resource A - Waiting for Thread 1 Thread 1: lock resource B - Waiting for Thread 2 -- Deadlock If you kill tomcat all lock are

Re: Tomcat 3.3.1 with Apache 2.0.39 on Red Hat 7.1 - doable?

2002-07-03 Thread John Rowling
As an addendum - it's not just RH7.1 (or gcc2.96) I get the same on a debian box. Is there a working version of mod_jk for Apache 2.0.39 amd Tomcat 3.3.1 out there? John Rowling On Wed, 2002-07-03 at 14:45, John Rowling wrote: This seems unnecessarily difficult. I have a system running a

Unknown Source in Trace?

2002-07-03 Thread Marc Logemann
Hi, sometimes when tomcat prints out traces, i get the following: java.lang.NullPointerException at de.bahr.mapping.MOCompany.getByPrimaryKey(Unknown Source) at de.bahr.erp.servlets.LoginServlet.showMainMenu(LoginServlet.java:108) Why do i get Unknown Source in the first line,

AW: Unknown Source in Trace?

2002-07-03 Thread Ralph Einfeldt
You have to compile your servlets with the -g option. If you still don't get line numbers you may have to disable the jit/hotspot compiler. -Ursprüngliche Nachricht- Von: Marc Logemann [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 3. Juli 2002 10:53 An: [EMAIL PROTECTED] Betreff:

I GIVE UP !!! mod_jk2 + apache 2.0.39 ????

2002-07-03 Thread Yoav
Hiya all, All I'm trying to do is to have my apache 2.0.39 working with tomcat on linux and Solaris 8. (Not that we have a choice with that security hole in 2.0.36) Is there A N Y W H E R E one of the following ??? 1) A decent HOW-TO on compiling jakarta-tomcat-connectors-4.0.4-src.tar.gz -

Re: AW: Unknown Source in Trace?

2002-07-03 Thread Marc Logemann
Hi, this class is not a servlet, but i understand your point and will try to play around with compiler settings... You have to compile your servlets with the -g option. If you still don't get line numbers you may have to disable the jit/hotspot compiler. -Ursprüngliche Nachricht-

RE: Where can I find SCO binaries for Tomcat

2002-07-03 Thread will
Hi, I thought Tomcat was java. The binary distribution I am after is like the ones which are available from the Jakarta/Tomcat web site. They have different binary distributions for Linux and Win. Are these only different in the scripts needed to start/stop tomcat etc? I noticed that my Win

SOAP= java.lang.NoClassDefFoundError: javax/mail/MessagingException

2002-07-03 Thread staginfo-ar
Hi, I'm working with TOMCAT4 and SOAP on win 2000 PRO.TOMCAT works perfectly. I can deploy SOAP but when I want to use a service, I have an error when executing: java.lang.NoClassDefFoundError: javax/mail/MessagingException at Client.main(Client.java:9) Exception in thread main

RE: Where can I find SCO binaries for Tomcat

2002-07-03 Thread Martin van den Bemt
The binary releases are equal.. Omly for windows there is a nice installer. The apache - tomcat connectors however are platform specific (best to build it yourself..) Mvgr, Martin On Wed, 2002-07-03 at 12:10, will wrote: Hi, I thought Tomcat was java. The binary distribution I am after is

Re: Where can I find SCO binaries for Tomcat

2002-07-03 Thread Yoav
- Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 11:54 AM Subject: RE: Where can I find SCO binaries for Tomcat The binary releases are equal.. Omly for windows there is a nice installer. The

Problems with jsp:setProperty

2002-07-03 Thread Mats Palats
I'm unable to use setProperty with any of my beans with tomcat, it worked under jserv so I know my beans have the correct mutators. jsp:useBean id=conn class=wiBeans.ConnectionBean scope=session / jsp:setProperty name=conn property=username / jsp:setProperty name=conn property=password

RE: SOAP= java.lang.NoClassDefFoundError: javax/mail/MessagingException

2002-07-03 Thread Christophe Bouhier (ECM)
Hi, I am currently working on a SOAP servlet, and using different clients to send SOAP messages like J2SE and a servlet client. On the server side I use the JWSDP (which includes tomcat) from sun, which contains nice examples aswell as an excellent tutorial. The best way I think, is to

Re: Problems with jsp:setProperty

2002-07-03 Thread Arshad Mahmood
I assume you have set a value in your code but you haven't pasted into the message ? - Original Message - From: Mats Palats [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 11:16 AM Subject: Problems with jsp:setProperty I'm unable to use setProperty with any of

JSP Issue and I need a Solution from Tomcat end

2002-07-03 Thread MVS Bhargav
Dear All, Environment Explanation: -- I have a web application built in (JSP, HTML, JavaScript, Beans) on the Tomcat 3.2.2 version for Linux environment. My Client wants to install it in his Intranet (running on Solaris / Tomcat / Apache / Servlets) and wants to

R: Problems with jsp:setProperty

2002-07-03 Thread Alessio Fiore
It all seems to be right, but... are you sure webapps/wi/WEB-INF/classes directory is in your classpath? AFAIK, tomcat.sh doesn't add automatically the WEB-INF/classes directory under webapps/context when it builds its own CLASSPATH, so you should modify the script to add

Re: Updating files without restarting Tomcat

2002-07-03 Thread @Basebeans.com
Subject: Re: Updating files without restarting Tomcat From: Dan Paraschiv [EMAIL PROTECTED] === In my opinion you have a different problem here. Probably you read those properties files at some point in your application lifecycle. Suppose that point is your servlet init method (which is called

AW: Problems with jsp:setProperty

2002-07-03 Thread Power-Netz \(Schwarz\)
I'm unable to use setProperty with any of my beans with tomcat, it worked under jserv so I know my beans have the correct mutators. jsp:useBean id=conn class=wiBeans.ConnectionBean scope=session / jsp:setProperty name=conn property=username / jsp:setProperty name=conn

Re: Updating files without restarting Tomcat

2002-07-03 Thread cbarnes
In my opinion you have a different problem here. Probably you read those properties files at some point in your application lifecycle. Suppose that point is your servlet init method (which is called only once in the servlet life). If you change the properties files it's your

Re: R: Problems with jsp:setProperty

2002-07-03 Thread Mats Palats
just as a test I placed a wiBeans.jar in $TOMCAT_HOME/lib but got the same result. if it's missing from the classpath, shouldn't it complain about not finding the class? I also tried to add the path to classpath but got the same result then too From: Alessio Fiore [EMAIL PROTECTED] Reply-To:

Property file for a WAR

2002-07-03 Thread Søren Neigaard
Hi If I want to have a property file for my application, and I must be able to edit this file at runtime, where should I place it, and how do I now on runtime where it is placed (as I have no idea where the WAR file will be placed)? How do you guys do it, it must be common problem :) Med

Re: AW: Problems with jsp:setProperty

2002-07-03 Thread Mats Palats
the form element has the same name as the property. If the bean property and the request parameter have different names, you must specify both property and param. If they have the same name, you can specify property and omit param. If a parameter has an empty or null value, the corresponding

Réf. : RE: SOAP= java.lang.NoClassDefFoundError: javax/mail/MessagingE xception

2002-07-03 Thread staginfo-ar
I've TOMCAT 4.0, SUN XML-Pack (which includes JAXM, JAXR...) , JetSpeed and Apache SOAP. I think I can't use the JWSDP because TOMCAT (8080) is always installed and I've an ISAPI redirector for IIS configured with it. I've deployed a Client j2se (Java Class, URL on port 8070) on

Réf. : Property file for a WAR

2002-07-03 Thread staginfo-ar
You must add a Logger élément in serveur.xml in the context of your application Usually, war file must be in webapps under TOMCAT. Jean-Christophe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: javax.naming.NamingException: Cannot create resource instance

2002-07-03 Thread Vikramjit Singh
ok nice to go one step further everytime :). dowloaded these files thro' the link specified commons-collections-2.0.zip commons-pool-1.0.zip I have renamed them to collections.jar and pool.jar. but where is this commons.jar, as you had mentioned, since i cannot find them, neither is it there

RE: Heavy traffic trouble

2002-07-03 Thread Turner, John
What are the error messages you get when you add an include or LoadModule statement in httpd.conf? Your last message simply said didn't work but that doesn't help. If you post specifics instead of generalities, I'm sure the list can help. What is the error message that you get? John Turner

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-03 Thread Przemyslaw Kowalczyk
On Tuesday 02 July 2002 16:27, Les Hughes wrote: Ok. Summary time. Martin reflects my experience - I dumped tyrex and used DBCP as well. But aren't we trying to go direct without a pool? Having said that I've only ever managed to get datasources working when DBCP is being used... Check

Tomcat404 calls init of servlet twice on startup

2002-07-03 Thread Christoph Fischer
Hi, I have the following simple servlet running under tomcat 404, java 1.4: Unfortunately the init-procedure is called twice ??? Under tomcat 401 this was only done once. Did I miss any setting in server.xml ? Chris public class test extends HttpServlet implements SingleThreadModel { private

SV: Réf. : Property file for a WAR

2002-07-03 Thread Søren Neigaard
Eeeh? I know that my WAR file must be under webapps, what I need is some way to have my own property file somewhere, and be able to at runtime to guess where this property file is. /Søren -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sendt: 3. juli 2002 14:02

Default Web application

2002-07-03 Thread Matthew Oatham
Hi, How do I get my web application to load from www.url.com instead of www.url.com/webApp is there an entry in the server.xml where I specify this, i.e. a directory path to webApp ?. I have searched the Tomcat documentation but I've had no luck and can't be sure I'm looking in the right

Re: Default Web application

2002-07-03 Thread Mats Palats
it's in server.xml, if you want to have www.url.com you set path to Context path= docBase=your_webapps_subdir debug=0 reloadable=true/ (reloadable makes tomcat reload your classfiles when you've changed 'em btw) http://server.ccl.net/cca/software/UNIX/apache/debian-tomcat/node9.html that page

AW: Default Web application

2002-07-03 Thread Ralph Einfeldt
Just set the path in server.xml for your webapp to . Context path= ... / -Ursprüngliche Nachricht- Von: Matthew Oatham [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 3. Juli 2002 15:14 An: '[EMAIL PROTECTED]' Betreff: Default Web application How do I get my web application to

Fw: JSP samples error

2002-07-03 Thread Jon Howe
I have just installed tomcat 3.3.1 + jdk1.3.1_02 on redhat 7.2 all seems fine except for the JSP examples. All JSP examples give the errror: Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile at

RE: JSP samples error

2002-07-03 Thread Anoop Kumar V
u need to include th tools.jar in ur classpath. This has the javac class which is being used to compile the jsp's. -anoop -Original Message- From: Jon Howe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 7:03 PM To: [EMAIL PROTECTED] Subject: Fw: JSP samples error I

Re: JSP samples error

2002-07-03 Thread Jon Howe
All works great! cheers - Original Message - From: Anoop Kumar V [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 2:38 PM Subject: RE: JSP samples error u need to include th tools.jar in ur classpath. This has the javac class which is being

updating records in a Mysql db using jsp.

2002-07-03 Thread Maarten van Heiningen
Hi, I am using a mysql db with jdbc on a win2000 server with Tomcat. I wonder how I can update or delete items in a row or delete a complete row. I can select the specific data in the table and put it on the webpage, but I also want to edit this selected item. any sugestions? Maarten sample

DZ : SV: Réf. : Property file for a WAR

2002-07-03 Thread staginfo-ar
properties file, not log file?? sorry I can't help you. good luck! Jc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Kevin Passey
Like this /sql:connection %-- insert a row into the database --% sql:statement id=stmt1 conn=RBH %-- set the SQL query --% sql:query insert into rbh.fdbk (uid,date,comm,instime) values ( '%=LogInBean.getUid()%', current_date , '%=request.getParameter(comments)%',

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Kevin Passey
One other thing I forgot to mention my database is BD2/400. Regards Kevin -Original Message- From: Maarten van Heiningen [mailto:[EMAIL PROTECTED]] Sent: 03 July 2002 14:42 To: [EMAIL PROTECTED] Subject: updating records in a Mysql db using jsp. Hi, I am using a mysql db with jdbc

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Kevin Passey
Sorry that should be DB2/400. Kevin -Original Message- From: Maarten van Heiningen [mailto:[EMAIL PROTECTED]] Sent: 03 July 2002 14:42 To: [EMAIL PROTECTED] Subject: updating records in a Mysql db using jsp. Hi, I am using a mysql db with jdbc on a win2000 server with Tomcat. I

AW: updating records in a Mysql db using jsp.

2002-07-03 Thread Power-Netz \(Schwarz\)
Hi, I am using a mysql db with jdbc on a win2000 server with Tomcat. I wonder how I can update or delete items in a row or delete a complete row. I can select the specific data in the table and put it on the webpage, but I also want to edit this selected item. stmt.execute(update

AW: How I can redirect requests in Tomcat 4?

2002-07-03 Thread Ralph Einfeldt
If you are using tomcat standalone I don't know a solution where you can just setup tomcat t do this. Never the less there are several ways to achieve this goal: - Create and define a Filter that redirects all request to a resource to another resource by using response.sendRedirect() -

j_security_check to forward the request to a default page if the forward to page does not exist

2002-07-03 Thread BBui
Does anyone know how to tell j_security_check to forward a request to a default page if the forward-to value is empty? Also, where can we get the source code for j_security_check? Thanks. Bao-Ha Dam Bui [EMAIL PROTECTED] S. Jude Medical, Inc 651.765.1018

AW: j_security_check to forward the request to a default page if the forward to page does not exist

2002-07-03 Thread Ralph Einfeldt
It's not possible to do that. This is by design, not a bug. A dirty hack might do the trick: Write a servlet filter that sets the value if it is not set. Configure this filter to be triggered, whenever j_security_check is requested. (If that's realy possible I don't know)

Re: Impossible to calculate session duration ?

2002-07-03 Thread @Basebeans.com
Subject: Re: Impossible to calculate session duration 1 2 3 4 5 6 7 8 9 From: Dan Paraschiv [EMAIL PROTECTED] === If you want to find out how long a session lives you could try this: 1. When you create the session store somewhere the creation time 2. Create an object that implements the

RE: Réf. : Property file for a WAR

2002-07-03 Thread Douglas, Rory
Title: RE: Réf. : Property file for a WAR If you place your .properties file at the root of your WAR classpath ie (under WEB-INF\classes) then your class files can reference it relative to their position in the package directory structure. i.e. WEB-INF +---classes +--your.properties

RE: APR not loaded?

2002-07-03 Thread Short, Dave
Made the change ad rebooted, no luck. Any other ideas or suggestions? -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: July 02, 2002 10:07 AM To: 'Tomcat Users List' Subject: RE: APR not loaded? Try setting APACHE2_HOME environment variable to point to your

VirtualHost

2002-07-03 Thread busch
Hi, I want like to do some nasty VirtualHosting which I can't get to run. I have written a web-application which gets it's internal configuration values out of an XML-File we specified. So, for different applications, I can use the same /WEB-INF/classes for all my applications, the only

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Clay Graham
is this a JSP page? I always thought three teir philosophy strictly forbade this type database handling on a JSP page, these are jakarta tags? well I guess tomcat can be many things to many people, including a PHP or an active server page clay -Original Message- From: Kevin

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Turner, John
What technology you use (JSP, ASP, PHP, CF, perl, whatever) is irrelevant to three tier philosophy (which should really be n-tier philosophy if you want to get technical). Application architecture is not language or application server dependent. John Turner [EMAIL PROTECTED] http://www.aas.com

AW: VirtualHost

2002-07-03 Thread Ralph Einfeldt
- Do you use mod_jk or mod_jk2 ? - Which tomcat version do you use ? - What error do you observe ? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 3. Juli 2002 17:44 An: [EMAIL PROTECTED] Betreff: VirtualHost This would mean I have

Re: Property file for a WAR

2002-07-03 Thread JensStutte
I don't think, you can change a property file at runtime, because the java class loaders usually cache classes and other resources during runtime. Without at least an application reload the changes won't be active. Application specific configurations i usually put into a properties file situated

Server attributes question

2002-07-03 Thread Mathew Hennessy
Hi, I see that Server takes a port, className and shutdown as attributes, but I don't see any entry for inet= or address= .. As it takes a port, and binds to localhost, this makes it kind of a port-hog and inconvenient for running multiple CATALINA_BASEs on a single multi-IP server..

RE: How I can redirect requests in Tomcat 4?

2002-07-03 Thread Ignacio J. Ortega
De: Luca Ventura [mailto:[EMAIL PROTECTED]] Enviado el: 3 de julio de 2002 15:29 Para: tomcat-user; tomcat-dev This is a user question.. In addition you should read http://jakarta.apache.org/site/mail.html carefully, in that document we ask specifycally to not crosspost.. Please do not

Re: How I can redirect requests in Tomcat 4?

2002-07-03 Thread eric aboudaram
Host name=mydomain.com debug=0 appBase=webapps/rep1 unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=mydomain_com_log. suffix=.txt timestamp=true/ Context path= docBase= debug=0 reloadable=true

RE: updating records in a Mysql db using jsp.

2002-07-03 Thread Clay Graham
You are totally right. I guess that was a generalization, its just alot of PHP and ASP programmers code that way clay -Original Message- From: Turner, John [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 8:43 AM To: 'Tomcat Users List' Subject:RE: updating

Re: AW: VirtualHost

2002-07-03 Thread busch
I am using mod_jk, tomcat 3.3 Nevertheless, I found the error... I was trying to set up an Enhydra (www.enhydra.org) based application server with Tomcat and Apache. Enhydra will load servlet-classes depending on the URL-suffix passed to the Enhydra super-servlet. I jk-mounted the following

Redirecting one jsp to another

2002-07-03 Thread Mark O'Driscoll
Can I easily redirect a single JSP to another? Like: servlet-mapping servlet-name/one.jsp/servlet-name url-pattern/two.jsp/url-pattern /servlet-mapping I know this doesn't work ... but what, if any, is the alternative. I really want to call lots of jsps the same name. e.g.

ClassLoaders, Tomcat instances and shared classes

2002-07-03 Thread Gattaz, Olivier
Bonjour, My apologies if you receive this message a second time. Even after I read the class loader documentation ( http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html), the startup documentation (

RE: Redirecting one jsp to another

2002-07-03 Thread Turner, John
How about just calling Message.jsp with a parameter? Message.jsp?action=warn, etc. John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Mark O'Driscoll [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 12:33 PM To: Tomcat Users List Subject: Redirecting

WebContainner Portable Login Module

2002-07-03 Thread Bruno Antunes
I am trying to implement a custom Login, that will work regardless of the Web Container, that we are using. I want a something more customized than the FORM authentication defined in the Servlet 2.3 specification. I want to be able for example to inform a user that the authentication service

Configuring Tomcat w/ SQL Server

2002-07-03 Thread Reid, Rose L
How do you configure Tomcat 3.2 on a SQL 2000 Server? And on an Oracle Server? Thanks, Rose Reid -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

local machine access only?

2002-07-03 Thread Pearsall, Kyle
Is there a way a simple way to set up Tomcat so that only the local machine (localhost) can access the web site? Thank you, Kyle Pearsall -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: j_security_check question

2002-07-03 Thread Kevin Andryc
OK, so here is where I am at. I have such that, when a user tries to access a servlet (e.g.: http://localhost:8080/dev/servlet/ProtectedPage) they get forwarded to a Login JSP page specified by my web.xml. Here is the problem, when the user tries to login the Login form appears again, yet the URL

Re: Heavy traffic trouble

2002-07-03 Thread lsalas
without messages error, the tomcat close all session with a session expired, and the tomcat not response any request, no more. session expired session expired session expired session expired . . and I have a http error 404 in the browsers, when i restart the tomcat, it's work again.

Security Issue with forward

2002-07-03 Thread Bruno Antunes
I, have found that Tomcat only checks the security-constraint if the request comes from the client. Let me exemplify: - I have in the root of a webapp a jsp [lets name it index.jsp] that forward requests to a protected resource named protected/myProtectedResource.do [or a servlet, that will

Tomcat4 with Apache 2

2002-07-03 Thread Joey Kovacs
I am just wondering, If it bad to have any spaced in your Apache configuration, like C:\Program Files\Apache Group\Apache2 in program files, there is a space. In many docs , they say NO spaces _ Chat with friends online, try MSN

Re: Tomcat4 with Apache 2

2002-07-03 Thread Carrie Salazar
i did not have any problem using spaces with Tomcat 4.0.4. perhaps it was a problem with earlier versions. -- carrie s. On Wed, Jul 03, 2002 at 05:03:35PM +, Joey Kovacs wrote: I am just wondering, If it bad to have any spaced in your Apache configuration, like C:\Program

RE: Tomcat4 with Apache 2

2002-07-03 Thread Turner, John
Use the tilde notation if you are concerned. The Windows standard is the first 6 characters, plus ~, plus a sequential number. For example, Program Files is equal to progra~1. Apache Group is equal to apache~1. Note that if there are two or more directories that fit the criteria, the number

Re: local machine access only?

2002-07-03 Thread Tim Funk
When declaring your connectors in server.xml add address=127.0.0.1. EG: Connector className=org.apache.catalina.connector.http.HttpConnector port=8080 minProcessors=5 maxProcessors=75 address=127.0.0.1 enableLookups=true redirectPort=8443 acceptCount=10 debug=0

How I can redirect requests in Tomcat 4?

2002-07-03 Thread Luca Ventura
Hello everybody! I have Tomcat 4 installed as Web Server on a Win 2000 machine. I would like to know how I can redirect requests from an URL to another one. For example I would like to redirect all the requests for this url: http://www.mydomain.com/address1.html to this new url:

jasper - class name generated

2002-07-03 Thread Rodrigo Gevaerd
I made an ant task to call org.apache.jasper.JspC. But to prevent class name collision, I would like to change the name of the classes generated to something like what tomcat does in its work directory, where it appends a $jsp to the class name. Is it possible? The JspC doesn't seem to have

tomcat 4.1

2002-07-03 Thread William Shulman
anyone know when 4.1 is slated for release? thanks -will -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Security Issue with forward

2002-07-03 Thread Craig R. McClanahan
On Wed, 3 Jul 2002, Bruno Antunes wrote: Date: Wed, 03 Jul 2002 18:06:57 +0100 From: Bruno Antunes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: Security Issue with forward I, have found that Tomcat only checks the

Virtual host question for all

2002-07-03 Thread Mark Hutchinson
I have RedHat 7.3 with Apache 1.3.23-11 and tomcat 4.0.3 installed with RPM's. I have everything working and can access the ip:8180 and get the examples and also go to the ip/examples/ and all is good. I have the mod_jk.conf included in the httpd.conf so that I have access to the tomcat

RE: local machine access only?

2002-07-03 Thread Pearsall, Kyle
That worked! Thanks, Kyle -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 10:15 AM To: Tomcat Users List Subject: Re: local machine access only? When declaring your connectors in server.xml add address=127.0.0.1. EG: Connector

RE: j_security_check question: RequestDispatcher .forward!!

2002-07-03 Thread Kevin Andryc
OK, So I found that I can access my servlet if I don't use the RequestDispatcher .forward method. In other words, when I try and access my page (e.g.: http://localhost:8080/dev/servlet/ProtectedPage) I get a login JSP form that I specified. When I login successfully,the login page reappears

RE: j_security_check question

2002-07-03 Thread John Gregg
Hmmm. Your auth constraint protects the login.jsp itself. Try changing that so the login.jsp is not protected. Maybe you have a chicken and egg problem. john -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. org]On Behalf Of Kevin Andryc Sent: Wednesday, July 03,

RE: Ahh Native Library Hell

2002-07-03 Thread Cox, Charlie
I just answered this last week. see the thread Native library cannot be loaded twice in the archives Charlie -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 1:30 PM To: 'Tomcat Users List' Subject: Ahh Native Library Hell Hi all,

RE: j_security_check question

2002-07-03 Thread Craig R. McClanahan
On Wed, 3 Jul 2002, John Gregg wrote: Date: Wed, 3 Jul 2002 12:59:57 -0500 From: John Gregg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: j_security_check question Hmmm. Your auth

RE: Virtual host question for all

2002-07-03 Thread Turner, John
Assuming your Apache virtual hosting configuration is correct, this should help: http://mailman.real-time.com/pipermail/tomcat-users/2002-July/071108.html John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Mark Hutchinson [mailto:[EMAIL PROTECTED]] Sent:

Re: Where can I find SCO binaries for Tomcat

2002-07-03 Thread Martin van den Bemt
If you follow the instructions (and use therefor ant to build the mod_jk) from the jk directory, you should have adjusted the build.properties file. I couldn't get it running either, since the jni_md.h include file could not be found. While investigating the jk/native/build.xml file, I found that

RE: Virtual host question for all

2002-07-03 Thread Mark Hutchinson
OK. Here is my virtual host: NameVirtualHost 111.111.111.111:80 VirtualHost 111.111.111.111:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /web/mydomainconent.mydomain.com/web ServerName gohere.mydomain.com ErrorLog logs/mydomain-error_log CustomLog logs/mydomain-access_log

RE: Virtual host question for all

2002-07-03 Thread Turner, John
First, you need mod_jk loaded in httpd.conf. You'll never get apache to talk to tomcat unless you have this module loaded and the directives set up: LoadModule /some/path/mod_jk.so # First Virtual Host. # VirtualHost 111.111.111.111:80 DocumentRoot /web/mydomainconent.mydomain.com/web

RE: Virtual host question for all

2002-07-03 Thread Mark Hutchinson
Fantastic. One last question Where in the server.xml should I insert this in server.xml? Under the AJP 1.3 connector? Where is a suitable place? Mark From: Turner, John [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE:

RE: Virtual host question for all

2002-07-03 Thread Turner, John
At the same level as the other Host container. Caveat Emptor...I don't run virtual hosts with mod_jk, you might have to tweak around a little bit...I'm not saying my previous message is drop-in and go. John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Mark

RES: netscape caching page

2002-07-03 Thread Jose Euclides da Silva Junior - DIGR.O
Did you clean your browser' cache? Is it a jsp or html page? Euclides. -Mensagem original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviada em: quarta-feira, 3 de julho de 2002 14:56 Para: [EMAIL PROTECTED] Assunto: netscape caching page i have tomcat 3.2 running on a freebsd machine.

RE: Virtual host question for all

2002-07-03 Thread Mark Hutchinson
I put this: Host name=www.site.com debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_www_site_com_log. suffix=.txt timestamp=true/ Context path= docBase=/web/mydomainconent.mydomain.com/web

RE: Virtual host question for all

2002-07-03 Thread Turner, John
Connection Refused when starting tomcat usually means that tomcat didn't actually stop when you stopped it. John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Mark Hutchinson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 3:30 PM To: [EMAIL PROTECTED]

RE: How often would Tomcat crash?

2002-07-03 Thread Andrew Conrad
Hello Peter, I'm just guessing but if your tomcat service was running and IIS was running, you had a failure in your redirector. It's tough to say, without knowing whether port 8080 showed responses. To get a better idea, check your redirector log file. Also, you can change your logging

requestdispatcher.include, flush bugs

2002-07-03 Thread Apu Shah
could someone please point me to where i can log bugs for tomcat? i have tried the code below on different configurations with no avail, i still see the problem, which makes me feel that it is a legitimate bug. i am assuming that it would not be appropriate to post on tomcat-dev (?) please

RE: Virtual host question for all

2002-07-03 Thread Mark Hutchinson
Well, I have that in now in a better place and I cna bring up the virtual host page and it gives no errors, but I have nothing displayed. The page is blank. The port 8180 pages also show up blank now as well. I may be getting closer. Any ideas on this? Thanks for all the help. Mark From:

RE: Virtual host question for all

2002-07-03 Thread Short, Dave
If you're using Netscape 4.x try IE 5.5. There's a known issue with Apache 2.0.36 and Netscape 4.x (don't know if it's fixed in 2.0.39). -Original Message- From: Mark Hutchinson [mailto:[EMAIL PROTECTED]] Sent: July 03, 2002 12:56 PM To: [EMAIL PROTECTED] Subject: RE: Virtual host

  1   2   >