MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

Re: Tomcat 5.5.9 not picking up changes

2005-08-23 Thread Rakesh Kumar
I use Tomcat 5.0.28 and as per this version, you should add reloadable="true" to your context definition for the required behaviour. Rakesh Kumar, Quoting MC Moisei <[EMAIL PROTECTED]>: I configured Tomcat 5.5.9 for my development station. I moved from 4.1.30 where the classes where pickup o

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

Tomcat 5.5.9 not picking up changes

2005-08-23 Thread MC Moisei
I configured Tomcat 5.5.9 for my development station. I moved from 4.1.30 where the classes where pickup on the fly. (Maybe I shouldn't have moved since all worked so nice) I know things changed since 4.1 but I think I'm doing thing right. In conf folder I defined the context file like below

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

"Wrong Message Format"

2005-08-23 Thread Kyle
Hi people, I'm a bit stumped as to what to track/trace in this instance. Can someone point me in the right direction please? Apache 2.0.54 Tomcat 5.5.9 & 4.1.30 mod_jk 1.2.14 I am trying to integrate Apache with the 2 different versions of Tomcat into 2 different Apache . I am as far as; Apach

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

Using securityfilter in jboss/tomcat

2005-08-23 Thread Mark Goking
Hi, Ive successfully used securityfilter with jboss/tomcat. But the problem is, securityfilter has a securityfilter-config.xml and within this is required a tag for db authentication. If I don't use securityfilter, I can just add this line mark-login (which is configured in the server/cs/conf/

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

Tomcat can't find the web.xml file in its own directory

2005-08-23 Thread Robert Greene
I am trying to get Tomcat 4.0.6 to work with Apache 2.0 runnning under Fedora Linux. Tomcat was installed by my web host, which does not seem to believe in the concepts of "documentation" or "technical support for Tomcat," so I, a newbie, am trying to work through configuring all the files to get

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

Exception when using TLD files in JAR files included with web application

2005-08-23 Thread Seva Popov
Hi, I am evaluating the migration to Tomcat from Resin and encounted the following problem. The following exception is raised when I am trying to use tag libraries packaged as JAR files in the web application with both Tomcat 5.5.9 or 5.5.11 (I have the JAR file with the tld in META-INF/tlds dire

MAIL FAILURE

2005-08-23 Thread no-reply
* THIS EMAIL IS AUTOGENERATED - DO NOT REPLY TO * The email you sent was not delivered to the desired recipient because it was blocked/filtered for a s

ehacache prevents web app reload

2005-08-23 Thread Robert Taylor
Greetings, I'm using Tomcat 5.9 and Spring1.2.3, and Hibernate3. I have to stop and start Tomcat each time I need to reload my web app, otherwise, ehcache is holding onto a resource which prevents the old web app from being deleted so it can be replaced by the reloaded one. I searched the Hibe

Re: Viewing PDF in Internet Explorer

2005-08-23 Thread Brian Cook
What issue? If you are needing to get a page to load a PDF you have two options. 1. Set an tag with the source value set to the location of the PDF. This will load the PDF in the entire window assuming that they have the PDF plug in installed. 2. The other option is to use frames

RE: Viewing PDF in Internet Explorer

2005-08-23 Thread Jim Henderson
I am not familiar with 24970. But what we have done is use an iframe (or a frameset) where the source url points back to a servlet that would set the mime type and pass back the PDF data stream. Hope that helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: T

RE: Override WAR file security settings.

2005-08-23 Thread Jim Henderson
Thank you, thank you, thank you! I have looked for over a day using GOOGLE, etc., just to be sure I was not missing anything! Again, thanks! -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 4:00 PM To: Tomcat Users List Subject: Re: Override W

Viewing PDF in Internet Explorer

2005-08-23 Thread CFerraro
I am using Tomcat 5.0.28 and need to have a pdf document open as a plug-in in Internet Explorer. I tried using the response.class file (pertaining to the content-type) recommended in the bug documentation 24970, but it did not make a difference. Is there any additional information/solutions that a

Re: Override WAR file security settings.

2005-08-23 Thread Mark Thomas
I can confirm that you can't override these web.xml settings in server.xml It should be simple enough in Ant to generate two .war files that only differ by the web.xml file Mark Jim Henderson wrote: By the lack of response to my question, I take it that it is not possible to override the fol

Re: jndi question

2005-08-23 Thread Brian Cook
Do not need the screen shots. Just copy and paste the stack trace error of the exception(All the gobblay gook that shows up on screen or in catalina.out when an exception is thrown.), the details of which ever combination of config files you are using, the code actually calling the JNDI reso

Re: Need Help Programmatically Loading Servlets in StandardContext subclass

2005-08-23 Thread Philip Weaver
I give up. MVC baby! On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote: How can I programmatically load servlets and servlet mappings in Tomcat? I'm using Tomcat 5.0.28. I'm trying to extend StandardContext to automatically map/assign a batch of servlets from a specified jar at startup. I'

Re: jndi question

2005-08-23 Thread Sean Rowe
I will try all 3 once again, and provide screen shots of the errors I see. I have tried these methods before, but I will try them again for a sanity check. sean Allistair Crossley wrote: Hi, He isn't using that method of configuration, that's just 1 option of 3. He is nesting his Context

error loading class in $CATALINA_BASE/shared/classes

2005-08-23 Thread Harry Hehl
Hello, I am just starting out with Tomcat 5 and I am experimenting with loading classes from a servlet. I have placed my .class files in $CATALINA_BASE/shared/classes. My servlet tries to instantiate a class located in $CATALINA_BASE/shared/classes I get javax.servlet.ServletException: Servlet

validation stricter at tomcat startup than XML Schema

2005-08-23 Thread Robert Koberg
Hi, I just noticed that the schema: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd allows //filter-mapping/filter-name's that have not been defined in a //filter/filter-name At tomcat startup however, there is a validation error (of course). I would say the SUN schema is wrong. best, -Rob

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server usin g JNDI?

2005-08-23 Thread Wade Chandler
--- Allistair Crossley <[EMAIL PROTECTED]> wrote: > Hi Wade, > > Can you perhaps resend the configuration files > > server.xml > web.xml > yourapp.xml > listing of files in common/lib > listing of files in yourapp/WEB-INF/lib > > Again? > Allistair, Sorry man, but I only wrote to you about r

RE: jndi question

2005-08-23 Thread Allistair Crossley
Hi, He isn't using that method of configuration, that's just 1 option of 3. He is nesting his Context definition within the server.xml Host element. Although this is now scorned, it's still valid. The 2 other methods are contextname.xml as you say, and also META-INF/context.xml within the webap

Re: jndi question

2005-08-23 Thread Brian Cook
Ok but do you have the resource defined in context.xml? If you go to <>/conf/Cataliana/localhost/ do you see a file with the name of the module ending with .xml? If so is the resource defined in that file? If not you need to add it. From the description it sounds like nothing in this set

Automatic Log File Rotation

2005-08-23 Thread Jeff Schroeder
Our company has standardized on newsyslog for squid and apache log file rotation and management for our production servers. I am in charge of implementing newsyslog for Tomcat log files and have a few questions: How can I keep Tomcat from adding the date to the end of the log filename? How can I

Re: jndi question

2005-08-23 Thread Sean Rowe
i will try that. thanks allistair, i really do appreciate this Allistair Crossley wrote: Hi Sean, It looks from a quick glance that your JNDI configuration is done globally, rather than in the Context configuration, and you do not link to it using a ResourceLink. Try adding Into the C

Re: jndi question

2005-08-23 Thread Sean Rowe
The first post on this included the server.xml, and further down in the page is the relevant part of web.xml ( i just double checked that ). as for context.xml, i have listed it in my webapp.xml file, as well as server.xml as all other examples have suggested. i then tried it in the admin mod

RE: jndi question

2005-08-23 Thread Allistair Crossley
Hi Sean, It looks from a quick glance that your JNDI configuration is done globally, rather than in the Context configuration, and you do not link to it using a ResourceLink. Try adding Into the Context block, and remove the Resource block you have in there. The other thing to try would be

Re: jndi question

2005-08-23 Thread Brian Cook
Actually the files I listed are NOT in the first post. It shows the server.xml and the code calling it but does not show web.xml or context.xml. The error you are getting just means that that the JNDI resource being called in the code is not defined in both web.xml and context.xml. In look

Re: jndi question

2005-08-23 Thread Sean Rowe
thank you, i will Allistair Crossley wrote: If you could please send 1. server.xml 2. web.xml 3. context.xml or yourwebapp.xml 4. list of files in common/lib 5. list of files in yourwebapp/WEB-INF/lib I'd be happy to see if I can spot anything. -Original Message- From: Sean Rowe

Re: JSP 2.1 support?

2005-08-23 Thread Tim Funk
There has been no talk of tomcat 6. It is expected that once the 2.5 version of the servlet spec is announced (in draft form) - work would begin on tomcat6. -Tim Jonathan Eric Miller wrote: Does anyone know when JSP 2.1 support is expected? Will that be in Tomcat 6? -

RE: jndi question

2005-08-23 Thread Allistair Crossley
If you could please send 1. server.xml 2. web.xml 3. context.xml or yourwebapp.xml 4. list of files in common/lib 5. list of files in yourwebapp/WEB-INF/lib I'd be happy to see if I can spot anything. > -Original Message- > From: Sean Rowe [mailto:[EMAIL PROTECTED] > Sent: 23 August 2005

Re: jndi question

2005-08-23 Thread Sean Rowe
no, that didn't help. thanks though. could this maybe be a class problem? am i using the wrong jar files? i can list the files i'm using if anyone thinks it might be the problem Allistair Crossley wrote: Hi, The documentation says; Context initCtx = new InitialContext(); Context envCtx

JSP 2.1 support?

2005-08-23 Thread Jonathan Eric Miller
Does anyone know when JSP 2.1 support is expected? Will that be in Tomcat 6? Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: jndi question

2005-08-23 Thread Allistair Crossley
Hi, The documentation says; Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup("java:comp/env"); DataSource ds = (DataSource) envCtx.lookup("jdbc/EmployeeDB"); However, we use; try { Context ctx = new InitialContext(); dataSource = (DataSource) ctx.lookup("j

Re: jndi question

2005-08-23 Thread Sean Rowe
Brian, thank you for replying. I was afraid my topic was dead. If you could look at my first post, I listed all the files that you have suggested I take a look at. I have done everything you have suggested, but am still getting errors. The error I am getting now is javax.naming.NameNotFoun

Re: jndi question

2005-08-23 Thread Brian Cook
Yes you can use JNDI with out using JSTL. But the only way to configure it is to define the JNDI resources in the web.xml and context.xml files. Technically you should be able to use the globally defined JNDI resources in server.xml, and I have seen configuration set ups doing it when goo

RE: logging tomcat 5.5

2005-08-23 Thread Allistair Crossley
actually you don't *have* to use log4j, since 5.5.8/9 tomcat has shipped with a customised jdk logging configuration (juli) that sets up a localhost log for you out of the box > -Original Message- > From: Alain Gaeremynck [mailto:[EMAIL PROTECTED] > Sent: 23 August 2005 16:09 > To: Tomca

Re: logging tomcat 5.5

2005-08-23 Thread Alain Gaeremynck
thanks for the info. I ws afraid of that but i wanted to make sure sigh *** Remy Maucherat wrote: On 8/23/05, Alain Gaeremynck <[EMAIL PROTECTED]> wrote: I read the doc and found out that in tomcat 5.5 we are suppose to use log 4 j to handle getServletContext.log. Howev

Re: playing outside the tomcat 4 classloaders "sandbox"

2005-08-23 Thread Fabien Benoit
On 8/23/05, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Fabien Benoit [mailto:[EMAIL PROTECTED] > > I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface > > to a classical 2-tier application. My problem is, I need to access the > > existing API of this application, a singl

Re: logging tomcat 5.5

2005-08-23 Thread Remy Maucherat
On 8/23/05, Alain Gaeremynck <[EMAIL PROTECTED]> wrote: > I read the doc and found out that in tomcat 5.5 we are suppose to use > log 4 j to handle getServletContext.log. However i rather liked the old > ways Is it stil supported? > > if i put this in my context > >prefix="s

logging tomcat 5.5

2005-08-23 Thread Alain Gaeremynck
I read the doc and found out that in tomcat 5.5 we are suppose to use log 4 j to handle getServletContext.log. However i rather liked the old ways Is it stil supported? if i put this in my context will it still work? -- Alain Gaeremynck CTO Le Groupe Interstructure (514) 374-1110 (51

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server usin g JNDI?

2005-08-23 Thread Allistair Crossley
Hi Wade, Can you perhaps resend the configuration files server.xml web.xml yourapp.xml listing of files in common/lib listing of files in yourapp/WEB-INF/lib Again? Cheers, Allistair. > -Original Message- > From: Wade Chandler [mailto:[EMAIL PROTECTED] > Sent: 22 August 2005 17:58 > To

RE: Redirect to 443

2005-08-23 Thread Peter Crowther
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Is posible to force redirect to 443 when a non-ssl request is > received (without having a )? You could, for example, write a filter for your webapp that checked whether the protocol was secure on an icoming request and responded with a r

Redirect to 443

2005-08-23 Thread HHidvegi
Is posible to force redirect to 443 when a non-ssl request is received (without having a )? Thanks

RE: Override WAR file security settings.

2005-08-23 Thread Jim Henderson
By the lack of response to my question, I take it that it is not possible to override the following web.xml settings by redefining them in Tomcat’s server.xml Any changes to those values must be made after the application has been deployed by editing the deployed w

RE: playing outside the tomcat 4 classloaders "sandbox"

2005-08-23 Thread Peter Crowther
> From: Fabien Benoit [mailto:[EMAIL PROTECTED] > I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface > to a classical 2-tier application. My problem is, I need to access the > existing API of this application, a single jar located outside the > tomcat install. Copying this jar

playing outside the tomcat 4 classloaders "sandbox"

2005-08-23 Thread Fabien Benoit
Hi everyone. I'm using Tomcat (4.1) and Axis 1.2 to provide a web service interface to a classical 2-tier application. My problem is, I need to access the existing API of this application, a single jar located outside the tomcat install. Copying this jar inside tomcat commmon lib dir or webapp lib

ssl connector

2005-08-23 Thread Bauer, Daniela
In server.xml I configured an ssl connector like this: clientAuth=true requires a client certificate. If a user doesn't have a certificate, I would like to redirect to a http-connection or show a costum error page. how can I realize this redirect/error page in the connector? Any thoughts? Chee

RE: Securityfilter for authentication

2005-08-23 Thread Mark Goking
I have the security filter .jar in my /lib directory but not the /lib directory of the webapp. But the server's /lib. -Original Message- From: Andrew Stepanenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 23, 2005 8:21 PM To: Mark Goking Subject: Re: Securityfilter for authenticati

RE: Tomcat 3.3.2: Not able to retrieve parameters

2005-08-23 Thread Larry Isaacs
A simple test works for me. Are you accessing Tomcat 3.3.2 directly or through another web server? Larry > -Original Message- > From: Code Rebel [mailto:[EMAIL PROTECTED] > Sent: Monday, August 22, 2005 8:39 PM > To: tomcat-user@jakarta.apache.org > Subject: Tomcat 3.3.2: Not able to re

Re: IIS & TC 5.5.9 - welcome files (index.html) not found

2005-08-23 Thread Robert Koberg
Mikolaj Rydzewski wrote: Robert Koberg wrote: it seems that IIS does not recognize index.html as an index page. In other words, I get an IIS 404 when trying to hit something like: 'http://server.com/some/folder/'. The uriworkermap.properties has *.html set to be served from tomcat. Has anybod

Re: IIS & TC 5.5.9 - welcome files (index.html) not found

2005-08-23 Thread Robert Koberg
Mikolaj Rydzewski wrote: Robert Koberg wrote: it seems that IIS does not recognize index.html as an index page. In other words, I get an IIS 404 when trying to hit something like: 'http://server.com/some/folder/'. The uriworkermap.properties has *.html set to be served from tomcat. Has anybod

Re: IIS & TC 5.5.9 - welcome files (index.html) not found

2005-08-23 Thread Mikolaj Rydzewski
Robert Koberg wrote: it seems that IIS does not recognize index.html as an index page. In other words, I get an IIS 404 when trying to hit something like: 'http://server.com/some/folder/'. The uriworkermap.properties has *.html set to be served from tomcat. Has anybody seen this? It's probab

IIS & TC 5.5.9 - welcome files (index.html) not found

2005-08-23 Thread Robert Koberg
Hi, I am using IIS and tomcat together for the first time and have one little problem... Even though I have a /web-app/welcome-file-list/welcome-file='index.html' in my web.xml and the IIS server has index.html set as a default index page in the IIS manager, it seems that IIS does not recogni

Re: Securityfilter for authentication

2005-08-23 Thread Andrew Stepanenko
Hi Mark, I'm using SecurityFilter in my application successfully . What are your questions? Regards, -- Andrew Stepanenko, Software engineer, Ukrainian-Dutch Faculty of Economics and Management Ternopil State Economic University Shevchenko Street 9, Office 24-25 Ternopil, 46000 UKRAINE Tel: +

Catalina eat whole CPU under heavy load

2005-08-23 Thread Didier Chaumond
Hi all, We are using catalina in production environment for one of our production product/platform Apache/mod_jk and Ajp13Connector, average traffic is around 15 req/s (catalina entries). Apache http server 1.3.x version, mod_jk and two load balanced catalina workers. Tomcat version is 4.1.30, RH

Catalina eat 100%CPU under heavy load

2005-08-23 Thread Didier Chaumond
Hi all, We are using catalina in production environment for one of our production product/platform Apache/mod_jk and Ajp13Connector, average traffic is around 15 req/s (catalina entries). Apache http server 1.3.x version, mod_jk and two load balanced catalina workers. Tomcat version is 4.1.30, RH

RE: Logging of illegal requests from Tomcat 5

2005-08-23 Thread Marius Hanganu
You could log all requests using the access log valve: (more about at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/printer/valve.htm l) And then filter the log file searching for the illegal requests. Regards, Marius -Original Message- From: Dariusz [mailto:[EMAIL PR

[ANN] Apache Tomcat v5.5.11-alpha Released

2005-08-23 Thread Remy Maucherat
The Apache Tomcat team is proud to announce the immediate availability of Apache Tomcat 5.5.11-alpha, which includes bugfixes over Apache Tomcat 5.5.10-alpha. The Release notes are available at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES Please refer to the change log for the

Securityfilter for authentication

2005-08-23 Thread Mark Goking
Has anyone here used securityfilter for authetntication? The samples doesn't have any database realm example. If anyone got this working using db for authetnication pls let me know, I would like to ask some questions thanks - To