tomcat 6.0 support

2008-10-22 Thread rajesh202023
Hi All, Can anyone please tell me whether Tomcat 6.0 is supported on the following platforms or not? a. Windows 2003, 2008 32 bit x86 b. Windows 2003, 2008 64 bit x64 c. Solaris 10 SPARC d. HP-UX 11.31 IPF e. RHEL 5, SLES 10 x64 --Rajesh -- View this message in context: http://www.nabble.

Re: Committing sendRedirect()

2008-10-22 Thread Leon Rosenberg
On Thu, Oct 23, 2008 at 2:12 AM, Tore Eriksson <[EMAIL PROTECTED]> wrote: >> Tore Eriksson wrote: >> > Hello everybody, >> > >> > As I found a solution to my problem, I thought I would share it in case >> > someone else comes up against the same issue. The reason for the client >> > not acting on t

Re: Announce: PrincipalAuthenticator 1.0 (for NTLM Authorization behind IIS)

2008-10-22 Thread Louis
Bill Barker wrote: "André Warnier" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Louis wrote: [...] PrincipalAuthenticator is an implementation of a Tomcat Authenticator that allows transparent authorization to happen for corporate Windows users. [...] The JKConne

Re: Announce: PrincipalAuthenticator 1.0 (for NTLM Authorization behind IIS)

2008-10-22 Thread Louis
André Warnier wrote: Louis wrote: [...] PrincipalAuthenticator is an implementation of a Tomcat Authenticator that allows transparent authorization to happen for corporate Windows users. [...] The JKConnector provides Tomcat the ability to sit behind an instance of IIS and have requests passe

Re: Committing sendRedirect()

2008-10-22 Thread Tore Eriksson
> Tore Eriksson wrote: > > Hello everybody, > > > > As I found a solution to my problem, I thought I would share it in case > > someone else comes up against the same issue. The reason for the client > > not acting on the redirect is that sendRedirect does not send any > > Content-length header, a

RE: Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory

2008-10-22 Thread Caldarale, Charles R
> From: Mario Felarca [mailto:[EMAIL PROTECTED] > Subject: Question regarding 6.0.14 and NoClassDefFound > org/apache/juli/logging/LogFactory > > We are experiencing this issue when trying to run tomcat > 6.0.14 on a RHEL 4.6 system. What happens if you try it with 6.0.18 downloaded from the Tomca

Question regarding 6.0.14 and NoClassDefFound org/apache/juli/logging/LogFactory

2008-10-22 Thread Mario Felarca
Hello all, We are experiencing this issue when trying to run tomcat 6.0.14 on a RHEL 4.6 system. Looking up through the archives yields items regarding the MANIFEST.MF Class-Path line, and the actual CLASSPATH environment, however altering these items or removing them, or leaving them produces

Re: catalina.out rotation

2008-10-22 Thread Dave Dykstra
Redhat uses logrotate to rotate catalina.out. /etc/logrotate.d/tomcat5 has this: /var/log/tomcat5/catalina.out { copytruncate weekly rotate 52 compress missingok } - Dave On Tue, Oct 21, 2008 at 05:19:56PM +0100, emerson cargnin wrote: > I had rea

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Antonio
2008/10/22 Tim Funk <[EMAIL PROTECTED]>: > This would not work for includes since includes can't change the status or > change any headers. I think that I will try the "404 + 0 bytes" approach then. Thanks Antonio - To start a n

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Tim Funk
This would not work for includes since includes can't change the status or change any headers. -Tim Filip Hanik - Dev Lists wrote: you could also create a response wrapper in a filter, capture the status/output, so if the servlet sets 404, you can react to it appropriately Filip Antonio wrot

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Tim Funk
getServletPath() should return the path of the requested resource. So if I call include("/foo.html") - getServletPath() at that point during invocation should be /foo.html. servletContext.getResource(stuff) returns a URL if the resource exists. For servlets which map to some extension like *.d

Re: Blocked threads

2008-10-22 Thread Mark Thomas
Darren Kukulka wrote: > Hi, > > > > We've got a Tomcat 6.0.13 server running a single application under > 64-bit windows with 64-bit SUN JDK 1.6_03 > > > > It runs into situations where a large number of blocked threads appear > that seem to relate to hibernate functions unable to obtain da

RE: Why isn't my welcome file being read?

2008-10-22 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:[EMAIL PROTECTED] > Subject: Re: Why isn't my welcome file being read? > > I presume it is something called JK that does the connection > to Tomcat, I'm obviously not too familiar with Apache. Then why are you using httpd at all? Current versions of Tomcat can handle

Blocked threads

2008-10-22 Thread Darren Kukulka
Hi, We've got a Tomcat 6.0.13 server running a single application under 64-bit windows with 64-bit SUN JDK 1.6_03 It runs into situations where a large number of blocked threads appear that seem to relate to hibernate functions unable to obtain database connections/resources. This leads to

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Antonio
2008/10/22 Filip Hanik - Dev Lists <[EMAIL PROTECTED]>: > you could also create a response wrapper in a filter, capture the > status/output, > so if the servlet sets 404, you can react to it appropriately You're right, thanks :-) Antonio --

Re: Why isn't my welcome file being read?

2008-10-22 Thread Jonathan Mast
Yeah I figured that Apache was not forwarding it onto Tomcat, however I have other urls that also don't specify a file, and these *are* automagically forwarded to a JSP. I presume it is something called JK that does the connection to Tomcat, I'm obviously not too familiar with Apache. How do tell

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Filip Hanik - Dev Lists
you could also create a response wrapper in a filter, capture the status/output, so if the servlet sets 404, you can react to it appropriately Filip Antonio wrote: 2008/10/22 Tim Funk <[EMAIL PROTECTED]>: if (null==servletContext.getResource(request.getServletPath())) { Are you sure

Re: Disable Tomcat from caching

2008-10-22 Thread Filip Hanik - Dev Lists
hi Steve, >I have a JSP page (Display.jsp) that retrieves a xml file how do you achieve this? depending on how you load the XML, will determine how we troubleshoot why it is cached if it is statically included in the JSP, then it would be compiled into the class, take a look at Display_jsp

Re: Clustering in tomcat

2008-10-22 Thread Filip Hanik - Dev Lists
looks like your computer is not configured to allow multicast Caused by: java.io.IOException: Operation not permitted at java.net.PlainDatagramSocketImpl.send(Native Method) at java.net.DatagramSocket.send(DatagramSocket.java:612) http://www.dancres.org/bjspj/docs/docs/linux.html

RE: Why isn't my welcome file being read?

2008-10-22 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:[EMAIL PROTECTED] > Subject: Why isn't my welcome file being read? > > The request is logged in Apache as "GET /foo/" with > no file being specified. The real question is: What's being logged in Tomcat? Likely that httpd is never passing the request on to Tomcat.

Why isn't my welcome file being read?

2008-10-22 Thread Jonathan Mast
I have an context on Tomcat that is receiving some traffic and returning 404 errors. The request is logged in Apache as "GET /foo/" with no file being specified. I've specified in the WEB-INF/web.xml file that the welcome file should be "index.jsp" yet I am still getting 404s. It should be note

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Antonio
2008/10/22 Tim Funk <[EMAIL PROTECTED]>: > if (null==servletContext.getResource(request.getServletPath())) { Are you sure that it works? the "getServletPath" returns the path or the name of the servlet. Notice that anything could be included, from a JSP page to a called servlet with parameters. A

Re: Throwing exception when including unexisting resource

2008-10-22 Thread Tim Funk
This can be done in a Filter. Horribly pseudo coded as: doFilter(...) { if (null==servletContext.getResource(request.getServletPath())) { throw new ServletException("No file"); } chain.doFilter(...); } Then map the filter as needed (with any additional checks too) -Tim Antonio wrote

Throwing exception when including unexisting resource

2008-10-22 Thread Antonio
Hi all, I am a Tiles developer and I am struggling to resolve a problem in Tiles, that is reflected from a "gap" in the servlet specifications: https://issues.apache.org/struts/browse/TILES-320 What I want to do is to throw an exception whenever an included (through the use of RequestDispatcher.inc

RE: Oracle 11g

2008-10-22 Thread Peng Tuck Kwok
Well where to start? 1. Pretty much from version 4 of tomcat you've would have been able to connect to oracle using JDBC using the oracle supplied driver. 2. Well typically you connect to any database in java using JDBC, difference in app servers is that they provide you a means to configure this

Re: Clustering in tomcat

2008-10-22 Thread kashif_tomcat
Filip following is detail of exception that i get in catalian.out while starting tomcat server. 2008-10-22 17:51:59,297 INFO [org.hibernate.impl.SessionFactoryImpl - close] - closing Oct 22, 2008 5:51:59 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-80

RE: Tomcat is running but page is not displayed

2008-10-22 Thread Peter Crowther
> From: Danny_HY052 [mailto:[EMAIL PROTECTED] > When the tomcat is running i am able to access the > application, however, > after some time when i try again to access the application i get "Page > cannot be Displayed". (ensured that the tomcat was still running) > > I need to restart the tomcat se

Re: Tomcat - Oracle 11G

2008-10-22 Thread Mark Thomas
ciamik bener wrote: > Hi, could you give more detail information about these : > 1. What is Tomcat version that can support Oracle 11G ? All current versions. > 2. How do I connect to Oracle 11G ? With a JDBC driver. Do I need to get the driver from oracle first ? Yes. because I think there is

Re: Tomcat is running but page is not displayed

2008-10-22 Thread Pid
Danny_HY052 wrote: > Hi, I am using Tomcat 5 for my j2ee application which uses JSP, servlets , > java and oracle 10g at the backend. > > When the tomcat is running i am able to access the application, however, > after some time when i try again to access the application i get "Page > cannot be Di

Re: Disable Tomcat from caching

2008-10-22 Thread ISteve
Thank Filip. I added cachingAllowed ="false" to context.xml. but it still doesn't work. the xml file is not the latest. I added in TC_Home/conf/context.xml WEB-INF/web.xml and add it in my application_folder/META-INF/context.xml Is there any mistake in my configurat

RE: Oracle 11g

2008-10-22 Thread pengtuck
Well where to start? 1. Pretty much from version 4 of tomcat you've would have been able to connect to oracle using JDBC using the oracle supplied driver. 2. Well typically you connect to any database in java using JDBC, difference in app servers is that they provide you a means to configure th

RE: Possible causes of connection timeouts?

2008-10-22 Thread gary . l . johnstone
One thing I have found is that when I set keepAliveTimeout="3" i.e different to the connectionTimeout The delay then becomes 30 seconds and not 20s as it would default to with just connectionTimeout set to 2. I think this means I am seeing issues with new requests for pages/items

Tomcat is running but page is not displayed

2008-10-22 Thread Danny_HY052
Hi, I am using Tomcat 5 for my j2ee application which uses JSP, servlets , java and oracle 10g at the backend. When the tomcat is running i am able to access the application, however, after some time when i try again to access the application i get "Page cannot be Displayed". (ensured that the to