Re: Logging isn't happening in my 5.5.15 install

2006-03-16 Thread P Y
check AccessLogValve directive in conf/server.xml On 3/16/06, James Reynolds <[EMAIL PROTECTED]> wrote: > > I just installed a fresh 5.5.15 and I'm not getting any logs in my > conf/logs directory. I did not use the installer to install this > version (as opposed to my last install that logs jus

RE: installing admin package

2006-03-16 Thread Caldarale, Charles R
> From: erico [mailto:[EMAIL PROTECTED] > Subject: installing admin package > > I've unziped the apache-tomcat-5.5.15-adim.zip > then I've copied adimn.xml to my Tomcat´s path > (D:\java\apache-tomcat-5.5.15\conf\Catalina\localhost) > then I copied admin folder to : > D:\java\apache-tomcat-5.5.15

RE: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-16 Thread Caldarale, Charles R
> From: Stuart Lowes [mailto:[EMAIL PROTECTED] > Subject: Re: HTTP 500 error JasperException: Unable to > compile class for JSP > > Also these are the default directory layout and environment > variables in the Debian contrib 'tomcat4' packages. Some of these 3rd-party repackaged Tomcat instal

tomcat 5.5 and Raq4

2006-03-16 Thread Tony Iversen
has anyone installed tomcat 5.5 in a raq4, my client has an application that requires tomcat 5.5 Tony Iversen [EMAIL PROTECTED]

Tomcat cluster and redirecting to the same address

2006-03-16 Thread Michael Jouravlev
Hello! How does redirect-after-post pattern work in clustered environment? In my case I need to redirect to exactly the same location, where the initial POST request was made from. How does this work in cluster, if at all? Afaik, the original address is load balancer's address. When requests reac

ant reload

2006-03-16 Thread Jesus Antonio Sanchez Antunez
Hi. When I compiled some classes using the ant task ReloadTask from the sample build.xml, it doesn't reload the new compiled classes in tomcat. The only way that I found it does that is when I remove and reinstall the app. Do I have to wait for that behaviour, or am I doing something wrong.

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Lowe
On 3/17/06, Mark Space <[EMAIL PROTECTED]> wrote: > Alessandro Colantoni wrote: > > > Thanks for rapid answer! > >What do you mean with filter the roles of second level. > >How can I do that? if they are not in the auth-constraint and in the role > >name list they can't access. > >have O to write a

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Lowe
On 3/17/06, Mark Space <[EMAIL PROTECTED]> wrote: > Alessandro Colantoni wrote: > > > Thanks for rapid answer! > >What do you mean with filter the roles of second level. You can still use container based authentication. Especially if you're already setup to do so.. Just make sure that all users ha

installing admin package

2006-03-16 Thread erico
I've unziped the apache-tomcat-5.5.15-adim.zip then I've copied adimn.xml to my Tomcat´s path (D:\java\apache-tomcat-5.5.15\conf\Catalina\localhost) Before that there were only host-manager.xml and manager.xml in this directory then I copied admin folder to : D:\java\apache-tomcat-5.5.15\se

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-16 Thread Roger Keays
Hi Leon, Recently I've noticed similar deadlocks on my tomcat server. In my case, the server just hangs with no warning even though there is plenty of memory available. I tried the following to locate the problem, but it has all been in vain: * upgrade jdk from 1.5.0.1 to 1.5.0.6 *

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Space
Alessandro Colantoni wrote: Thanks for rapid answer! What do you mean with filter the roles of second level. How can I do that? if they are not in the auth-constraint and in the role name list they can't access. have O to write a filter class? in this class retrieve the role of the user and if i

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-16 Thread Stuart Lowes
Thanks for the responses. :) I'm still unable to get this working though, the same error is produced. Is it possible I am missing a dependency or two? apt-get in Debian installs a few dependencies automatically, but maybe there are some others not specified in the .deb dependency list? Serlet

Tomcat clustering

2006-03-16 Thread Larry Mulcahy
My question is: Is it reasonable to expect Tomcat clustering to work for servers not in the same network? Widely separated in different states? I have read the docs but don't understand the whole multicast thing. I have set up two servers with clustering enabled on the same subnet and they see

Logging isn't happening in my 5.5.15 install

2006-03-16 Thread James Reynolds
I just installed a fresh 5.5.15 and I'm not getting any logs in my conf/logs directory. I did not use the installer to install this version (as opposed to my last install that logs just fine). I am controlling it with an IDE (IntelliJ, if that's relevant) which is probably starting Tomcat with t

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread Mark Thomas
OK, Post the relevant parts of your conf/web.xml and a simple shtml file that doesn't work. Mark lee sachs wrote: > Mark > > Thanks...I tried that. That along with changing the attributes in a XML > file. Everything that follow from this in the documentation, I've done: > > http://tomcat.ap

Re: Still Jasper/Ant problem

2006-03-16 Thread Dola Woolfe
--- Ryan McDonald <[EMAIL PROTECTED]> wrote: > > On 16-Mar-06, at 12:00 PM, Dola Woolfe wrote: > > > Here's lines 17-22 > > > > > validateXml="false" > > uriroot="${webapp.path}" > > > > > webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" > > > >

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Lothar Krenzien
On http://www.onjava.com you can find some good articles about Tomcat Clustering. Try a search for 'Tomcat 5 Cluster'. But I'm not sure if they are for Tomcat 5.0.xx. Lothar > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 16.03.06 21:52:10 > An: Tomcat Users List

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Filip Hanik - Dev Lists
Peter Rossbach has done a great job documenting most of it here. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html Filip Dadyala, Manjeet S wrote: I’m new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing.

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread lee sachs
Mark Thanks...I tried that. That along with changing the attributes in a XML file. Everything that follow from this in the documentation, I've done: http://tomcat.apache.org/tomcat-5.5-doc/ssi-howto.html - Original Message From: Mark Thomas <[EMAIL PROTECTED]> To: Tomcat Users List

Tomcat caching roles

2006-03-16 Thread Santos, Paulo
Just had a couple of questions related to roles and tomcat: 1. When a user logs in does tomcat cache the role? I've noticed that if I change a user's role without restarting tomcat the user will still have the old role associated with them. 2. If tomcat does cache a user's role is there any wa

Re: running SSI on Tomcat 5.5.15

2006-03-16 Thread Mark Thomas
lee sachs wrote: > I was able to d-load, install and startup Tomcat on the XP machine and > configure it to enable SSI. The server runs fine with HTML, sample servlets > and JSPs. For SSI, according to the help files I changed the name of an SSI > servlet and removed the comments around the XM

Re: Tomcat taking too long to cycle through and come back up

2006-03-16 Thread Mark Thomas
Biernesser, Beth wrote: > Hi ... I'm wondering if there are any other tomcat user forums that > anyone has had success with? I see a lot of questions being asked in > this forum, but not many answers. My questions rarely get answered, and > I'm just wondering if anyone knows of another avenue to

Re: installing admin package

2006-03-16 Thread erico
Thanks Charles I got it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: installing admin package

2006-03-16 Thread Caldarale, Charles R
> From: "Érico M. Teixeira" [mailto:[EMAIL PROTECTED] > Subject: installing admin package > > where can I get the adimn package to install in my tomcat ? When you went to the 5.5 download page what did you see in the list of items for downloading? If you need a level that's not current, use th

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
On Thu, March 16, 2006 2:26 pm, Caldarale, Charles R said: >> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] >> Subject: RE: Somewhat OT: Multiple auth methods in one webapp? >> >> Do you know, or does anyone else know, where the server >> looks for the credentials when the challenge box has >>

Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Dadyala, Manjeet S
I’m new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing.   The documentation that I’ve come across at http://tomcat.apache.org most often deals with Tomcat version 5.5. Could someone assist in directing me to do

installing admin package

2006-03-16 Thread Érico M. Teixeira
Hi, where can I get the adimn package to install in my tomcat ? The version that I am working with is 5.5.15 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: redirect with tomcat

2006-03-16 Thread David Wall
Well, you should check out the url rewrite documention for details. In your webapp's web.xml, you put something like this in to tell it you want it to examine all URLs that come into the web app: UrlRewriteFilter org.tuckey.web.filters.urlrewrite.UrlRewriteFilter logLev

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Caldarale, Charles R
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Subject: RE: Somewhat OT: Multiple auth methods in one webapp? > > Do you know, or does anyone else know, where the server > looks for the credentials when the challenge box has > been submitted? See section 12.5 of the Servlet spec (you pr

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
Thanks for the quick reply. I have been using Tomca 4.X for our web applications. I have decided to try out Tomcat 5.5. As a first step, I have downloaded JDK 1.5 which is recommended for tomcat 5.5 and installed it. Then I installed Tomcat 5.5 from the binary download after verifying the keys. th

RE: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Caldarale, Charles R
> From: Vamsidhar [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5.16 - Error configuring application > listener of class listeners.ContextListener > SEVERE: Error configuring application listener of class > listeners.ContextListener > java.lang.ClassFormatError: Extra bytes at the end of cla

Re: redirect with tomcat

2006-03-16 Thread Lothar Krenzien
Hi David , it looks interesting. But what I don't understand, when I define the filter in the project web.xml how does tomcat knows where to look when the entered url in the browser contains a project name which doesn't exits ? I think, when a user enters localhost:80/siteB I need to have a pro

Re: Tomcat 5-5-16, welcome page behaves strangely

2006-03-16 Thread Xiangzhou Wang
I would suggest you to compile your project with the tomcat you are using, such as server-api.jar etc. There could be some API not matching as tomcat 4 and 5 supports different version of servlet/jsp spec. William --- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I have a web app that runs pe

RE: Context Level Logging

2006-03-16 Thread James Reynolds
Ah, I was expecting the docs to mention "Context level" specifically and I completely missed that little gem. I need to employ the rtfm*2 method :) Thanks -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 11:56 AM To: Tomcat Users Lis

RE: Context Level Logging

2006-03-16 Thread Caldarale, Charles R
> From: James Reynolds [mailto:[EMAIL PROTECTED] > Subject: Context Level Logging > > I want to be a good neighbor and set up context level logging, > so log files from my app will go to conf/logs/myContextName. > Is there a way to configure tomcat to do this? RTFM: http://tomcat.apache.org/tomc

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
I already tried doing it by downloading it from a different mirror, checking the keys and installing it again. The problem still persists. Am I missing any obvious thing here Machine : Windows XP Java: JDK 1.5.0 Build 06 Tomcat 5.5.16 thanks, Vamsi.

RE: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Caldarale, Charles R
> From: Vamsidhar [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 5.5.16 - Error configuring application > listener of class listeners.ContextListener > > I checked the verfication keys and they matched. I am totally > lost as to what the problem is. At least you need to reinstall with a fresh

Tomcat 5-5-16, welcome page behaves strangely

2006-03-16 Thread Michael Jouravlev
I have a web app that runs perfectly under Tomcat4, but behaves a little strange under Tomcat5. Originally welcome page was defined as follows in web.xml: myStartPage.jsp Works as it supposed to in Tomcat4, the URL in address bar shows "/myStartPage.jsp" Same application in Tomcat5 shows p

Re: redirect with tomcat

2006-03-16 Thread David Wall
We've used UrlRewriteFilter with good success so far: http://tuckey.org/urlrewrite/ David Lothar Krenzien wrote: Hi there, I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course o

Re: Dynamic roles web.xml

2006-03-16 Thread Alessandro Colantoni
Thanks for rapid answer! What do you mean with filter the roles of second level. How can I do that? if they are not in the auth-constraint and in the role name list they can't access. have O to write a filter class? in this class retrieve the role of the user and if is one of the second level skip

redirect with tomcat

2006-03-16 Thread Lothar Krenzien
Hi there, I'm using tomcat 5.5 and want to redirect some requests to another URL. For example the URL localhost:80/siteA should be forwarded to localhost:8080/siteB. Of course on Port 8080 listen another web-server. Does anybody know a good explanation how to do that ? I've tried with filters

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
I checked the verfication keys and they matched. I am totally lost as to what the problem is. I am using Windows XP Professional. thanks, Vamsi. On 3/16/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: Vamsidhar [mailto:[EMAIL PROTECTED] > > Subject: Tomcat 5.5.16 - Error configur

Context Level Logging

2006-03-16 Thread James Reynolds
I'm about to move a Shale web app into a Tomcat 5.5.15 container where it will sit with some other web apps. I want to be a good neighbor and set up context level logging, so log files from my app will go to conf/logs/myContextName. Is there a way to configure tomcat to do this? --

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
On Thu, March 16, 2006 12:48 pm, Jay Burgess said: > I pursued a very similar exercise last week. I have a webapp using BASIC > authentication and wanted to add in an RSS interface that used DIGEST > authentication. Unfortunately, I never could figure out how to do this in > a > single webapp. I

Re: Dynamic roles web.xml

2006-03-16 Thread Mark Lowe
To my knowledge the servlet config is frozen on start up.. My guess would be that you'll need to have a general access role or roles (those that wont be deleted/modified in your database.. And then have a second level of access control in your application.. At this point it would be easier just ha

Re: Tomcat 5.X

2006-03-16 Thread Mladen Turk
Jorge Herrera Aguilar wrote: I Install Tomcat on my pc, and i'm able to start it and to stop it, but when i try to view a simple index.html page it cames back with an error message saying : Resoirce \index.html is not available I'm running windows XP Do you know a guy named José Iván Gonzá

RE: Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Jay Burgess
Frank, I pursued a very similar exercise last week. I have a webapp using BASIC authentication and wanted to add in an RSS interface that used DIGEST authentication. Unfortunately, I never could figure out how to do this in a single webapp. I figured I'd chime in, though, as I think it'd be a ni

RE: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Caldarale, Charles R
> From: Vamsidhar [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5.16 - Error configuring application > listener of class listeners.ContextListener > > I checked the tomcat logs this is what I found - > application listeners are not being installed here > is log. How do I resolve this problem. T

Re: How to retrieve an user Principal?

2006-03-16 Thread Mladen Turk
Tremal Naik wrote: 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: JBoss getPrincipal() figures that from the request, Maybe, but it doesn't require I pass the request as an argument, It uses thread local storage. So my question follows: is there anything similar in Tomcat? Yes. Servlet spe

Re: Tomcat 5.X

2006-03-16 Thread Pulkit Singhal
Just a a precaution...have you gotten around to taking a look at the logs? to see if there are any profoundly disturbing exceptions shown in there? On 3/16/06, Jorge Herrera Aguilar <[EMAIL PROTECTED]> wrote: > > yes i did, even i moved index.html to different subdirectories without any > luck > >

Re: Tomcat 5.X

2006-03-16 Thread Mladen Turk
Fadi Samara wrote: It is not company advetising indeed. This tag gets added automatically, but if it makes you happy, I switched to my gmail account. Maybe you need to get a little educated on the difference between the government and company advertising. Thanks. I didn't read the entire hea

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: > JBoss getPrincipal() figures that from the request, Maybe, but it doesn't require I pass the request as an argument, ir returns the principal from whenever I call it in the code, simply, even in those classes which doesn't have a request variabile. It

Somewhat OT: Multiple auth methods in one webapp?

2006-03-16 Thread Frank W. Zammetti
Hello... I marked this Somewhat OT because what I'm trying to accomplish would ultimately be running in Websphere. However, I would like to develop it under Tomcat as I've always done, and it's also a general webapp question... I have an existing webapp that uses form-based authentication. Now I

Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-16 Thread Vamsidhar
Hi: I am using JDK 5.0 with Tomcat 5.5.16. When I start the server, I am not able to access the servlet and jsp examples. However I am able to access the manager application. I checked the tomcat logs this is what I found - application listeners are not being installed here is log. How do I resol

Re: Tomcat 5.X

2006-03-16 Thread Fadi Samara
It is not company advetising indeed. This tag gets added automatically, but if it makes you happy, I switched to my gmail account. Maybe you need to get a little educated on the difference between the government and company advertising. Thanks --- It's not company advertising. Look at

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Mladen Turk
David Kerber wrote: It's not company advertising. Look at the return address: it's a US government (military) email server, and requires it to be noted when information is unclassified. It's probably added automatically by the server. Right, like said, let him use public email service. If

Re: Tomcat 5.X

2006-03-16 Thread Jorge Herrera Aguilar
yes i did, even i moved index.html to different subdirectories without any luck From: "Pulkit Singhal" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: Tomcat 5.X Date: Thu, 16 Mar 2006 09:28:24 -0800 What URL did you use? Did you try others such as "

Re: How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
2006/3/16, Caldarale, Charles R <[EMAIL PROTECTED]>: > ??? That doesn't make any sense to me. There may be may users > connected to Tomcat at any given time; if you don't get the one > corresponding to a specific request (or associated session), what do you > think you're getting? well, I don't

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread David Kerber
It's not company advertising. Look at the return address: it's a US government (military) email server, and requires it to be noted when information is unclassified. It's probably added automatically by the server. Mladen Turk wrote: Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification:

Dynamic roles web.xml

2006-03-16 Thread Alessandro Colantoni
Hi all! In my application I need to define roles dynamically. I need to create and delete roles and associate them to a permissions table. I want the user authenticate with a form. The problem is that in web.xml I have to define statically the role names. This is the involved piece of my web.xm

Re: How to retrieve an user Principal?

2006-03-16 Thread Mladen Turk
Tremal Naik wrote: Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal();

Re: Tomcat 5.X

2006-03-16 Thread Pulkit Singhal
What URL did you use? Did you try others such as " http://localhost:8080/jsp-examples/"; ? On 3/16/06, Jorge Herrera Aguilar <[EMAIL PROTECTED]> wrote: > > I Install Tomcat on my pc, and i'm able to start it and to stop it, but > when > i try to view a simple index.html page it cames back with an

Re: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Mladen Turk
Samara, Fadi N Mr ACSIM/ASPEX wrote: Classification: UNCLASSIFIED Caveats: NONE I hate this kind of emails! Can you guys use some public email service instead stupid company advertising. Further more you have changed the original thread name. I think that we should consider such emails as

RE: How to retrieve an user Principal?

2006-03-16 Thread Caldarale, Charles R
> From: Tremal Naik [mailto:[EMAIL PROTECTED] > Subject: How to retrieve an user Principal? > > how can i retrieve an user principal? > > I don't want to get it from the request, but directly from the > underlying security framework. ??? That doesn't make any sense to me. There may be may use

Re: Still Jasper/Ant problem

2006-03-16 Thread Ryan McDonald
On 16-Mar-06, at 12:00 PM, Dola Woolfe wrote: Here's lines 17-22 What is the value of webapp.path seems like it either is not being set or is se to a location that doesn't exist. Read the Ant documentation for specifying parameters, using a properties file, or edit build.xml to s

RE: Tomcat 5.X (UNCLASSIFIED)

2006-03-16 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Where is your index.html ? Is it part of a deployable WAR ? -Original Message- From: Jorge Herrera Aguilar [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 12:16 PM To: users@tomcat.apache.org Subject: Tomcat 5.X I Install Tomcat on

How to retrieve an user Principal?

2006-03-16 Thread Tremal Naik
Hello, how can i retrieve an user principal? I don't want to get it from the request, but directly from the underlying security framework. My application, when developed in Jboss, uses an instruction like the following: org.jboss.security.SecurityAssociation.getPrincipal(); Is there something s

Tomcat 5.X

2006-03-16 Thread Jorge Herrera Aguilar
I Install Tomcat on my pc, and i'm able to start it and to stop it, but when i try to view a simple index.html page it cames back with an error message saying : Resoirce \index.html is not available I'm running windows XP Please Help __

Still Jasper/Ant problem

2006-03-16 Thread Dola Woolfe
Hi, Sorry for being persistent, but I still can't seem to compile my jsp with jasper. I'm using essentially the default build.xml and getting the following error (no idea what it means or referring to) C:\Dola\build.xml:21: org.apache.jasper.JasperException: The -uriroot option must specify a pre

Re: Upgrade problem to Tomcat 5.5.16, login with Realm fails

2006-03-16 Thread Velpi
I'm currently running my webapplication using Tomcat 5.5.12 and it works great. When I upgrade to Tomcat 5.5.16 I'm no longer able to login in to the webapplication using Form based (or Basic) login with Memory Realm (in my development area). maybe it has something to do with this: http://iss

Re: context.xml: ClassNotFoundException

2006-03-16 Thread Tremal Naik
2006/3/16, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: > your valve classes have to be in common/lib or common/classes or > server/lib or server/classes > > for security purposes, the best place would be server/lib or server/classes > > Filip Well, I put the classes in a jar deployed in server/li

running SSI on Tomcat 5.5.15

2006-03-16 Thread lee sachs
I'm running an instance of Tomcat 5.5.15 on an WinXP machine as a test dev environment. I'm building .shtml pages and includes on the XP machine and just want to have a local server to test pages without having to upload pages every time to a remote server on my ISP. I'm also interested in learn

Re: MySQL JDBC Exception: "No operations allowed after connection closed"

2006-03-16 Thread amiljusevic
The fact that I use JOTM with Tomcat forces me to use a different data source factory from the one described in the MySQL document "Using Connector/J with Tomcat", (http://dev.mysql.com/doc/refman/4.1/en/cj-tomcat-config.html) - org.objectweb.jndi.DataSourceFactory vs. org.apache.commons.dbcp

Re: Concurrency question for servlets

2006-03-16 Thread Filip Hanik - Dev Lists
when the session is destroyed, and your listener calls getId(), it might throw an exception that the session has already been invalidated. I believe its a IllegalStateException, this issue has been fixed in the most recent version Filip Klotz Jr, Dennis wrote: Thanks Leon for replying. I wan

RE: Concurrency question for servlets

2006-03-16 Thread Klotz Jr, Dennis
Thanks Leon for replying. I wanted to give a bit of feedback on this issue. It turns out that Concurrency was not the issue at all. The real problem was concealed by something that I am still puzzled about. Apparently when an HttpSessionListener class has an exception, it is never sent to catalin

Re: Tomcat don't start SSL connector

2006-03-16 Thread Markus Schönhaber
Vanessa Campos wrote: > Markus, > > Thank you. I'll try it. > > But still I keep thinking: wouldn't Tomcat start port 443 even with > my current configuration? > I can't stop wondering why it works on my local machine and doesn't > on my server... On my local machine (test environment) I have the >

Re: context.xml: ClassNotFoundException

2006-03-16 Thread Filip Hanik - Dev Lists
your valve classes have to be in common/lib or common/classes or server/lib or server/classes for security purposes, the best place would be server/lib or server/classes Filip Tremal Naik wrote: Hello, I have a problem with Tomcat 5.5.9 I created a file CiccioPasticcio.war with my applicatio

context.xml: ClassNotFoundException

2006-03-16 Thread Tremal Naik
Hello, I have a problem with Tomcat 5.5.9 I created a file CiccioPasticcio.war with my application. I have to filter user requests using Tomcat Valves, so I wrote a context.xml file with the following The file is in the folder CiccioPasticcio.war\META-INF\context.xml The Valve classe

RE: Tomcat don't start SSL connector

2006-03-16 Thread Caldarale, Charles R
> From: Vanessa Campos [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat don't start SSL connector > > But still I keep thinking: wouldn't Tomcat start port 443 even with > my current configuration? It should. However, if this is a copy & paste: > . - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Tomcat don't start SSL connector

2006-03-16 Thread Vanessa Campos
Markus, Thank you. I'll try it. But still I keep thinking: wouldn't Tomcat start port 443 even with my current configuration? I can't stop wondering why it works on my local machine and doesn't on my server... On my local machine (test environment) I have the same configuration and I can access l

Re: Tomcat don't start SSL connector

2006-03-16 Thread Markus Schönhaber
Vanessa Campos wrote: > Hi, everybody! > > I need to put SSL to work. My environment: > > Win2003 Server > TomCat 5.1.15 > Apache 2.0.55 > mod_jk > > My server.xml contains this: > > maxThreads="150" minSpareThreads="5" > maxSpareThreads="75" >enableLookups="fals

Tomcat don't start SSL connector

2006-03-16 Thread Vanessa Campos
Hi, everybody! I need to put SSL to work. My environment: Win2003 Server TomCat 5.1.15 Apache 2.0.55 mod_jk My server.xml contains this: I copied this configuration from my test enviroment (where it is working), but when I try to access https://localhost:443, it says "The

Re: HTTPS setup

2006-03-16 Thread Markus Schönhaber
Julie McCabe wrote: > Hello, > > Thanks for that ... I installed APR but also needed a certificate which > included the Netscape cert type set to SSL Server. ? > Incidentally, I tried > the other 2 methods with the new certificate but they failed - I have to > set this up in Windows also - I pr

Re: HTTPS setup

2006-03-16 Thread Julie McCabe
Hello, Thanks for that ... I installed APR but also needed a certificate which included the Netscape cert type set to SSL Server. Incidentally, I tried the other 2 methods with the new certificate but they failed - I have to set this up in Windows also - I probably need a none SSL based HTTPS

Re: HTTPS setup

2006-03-16 Thread Markus Schönhaber
Julie McCabe wrote: > Thanks for the advise - ive tried various permutations of trying to use an > exisiting CA signed X509 certificate to enable SSL with tomcat. From > reading various mailing lists it appears this is a frequent problem but one > that many people have solved using the solutions

Threads

2006-03-16 Thread Morten Andersen
Is there any problems with running a thread every night updating ressources and sending out emails from within tomcat. Any tools available? Morten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: HTTPS setup

2006-03-16 Thread Julie McCabe
Hello, Thanks for the advise - ive tried various permutations of trying to use an exisiting CA signed X509 certificate to enable SSL with tomcat. From reading various mailing lists it appears this is a frequent problem but one that many people have solved using the solutions I have tried - pe

Re: How to reduce bandwidth (meaning message size) with Axis

2006-03-16 Thread Jon Wingfield
Compression works very well. I added a homegrown GZip filter to the AXIS urls and also saw approx 10x compression. There are also a number of similar OSS Filters out there. There were .NET clients accessing the web-services and they needed a tweak to handle the compression: http://www.dotnetj

Re: Deadlock -> Out of Threads -> Strange Exception -> OutOfMemory -> Server Death. Bug in org.apache.naming.resources.ProxyDirContext.cacheLoad?

2006-03-16 Thread Leon Rosenberg
Update: between the memory leakage started approx. at 20:15 and reached the end of the bottle at 21:10 with 40 Mb free memory. At this time the server started to loose users. Until 21:45 it droped about 1000 users leaving 21 on the server, before it got restarted at 21:50 as I stated in the previo