RE: tomcat process doesn't stop

2007-11-15 Thread Caldarale, Charles R
> From: loredana loredana [mailto:[EMAIL PROTECTED] > Subject: tomcat process doesn't stop > > Hi, i'm running tomcat 6 with jdk 1.4.2 on ubuntu. Not possible; Tomcat 6 requires JDK 1.5 or higher. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and i

RE: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread uma_rk
Charles, Even if I place the jarfiles in a common path, they will be loaded by the webapp classloader right? Which means that each webapp would load the jars anew. The distinct webapps are taking up a lot of heapspace and affecting Tomcat. I would like to load the common jarfiles using commons

RE: Cannot retrieve rtf file when user data constrains applied

2007-11-15 Thread Caldarale, Charles R
> From: alla winter [mailto:[EMAIL PROTECTED] > Subject: Cannot retrieve rtf file when user data constrains applied > > when I apply the security constrain to force users to access > our web site via https: > > I can not retrieve PDF, excel or rtf files from our web site. This is a known prob

RE: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6.0.x Classloader sequence > > Even if I place the jarfiles in a common path, they will be > loaded by the webapp classloader right? Correct - I was under the impression that's what you wanted. Doing otherwise may introd

RE: connector threads issue

2007-11-15 Thread Caldarale, Charles R
> From: Ashish Parikh [mailto:[EMAIL PROTECTED] > Subject: connector threads issue > > What could cause the threads not to clear from jboss? > Jboss version: 4.0.4 > JVM: 1.4.2 Usually bugs in the webapps or beans, occasionally hangs in the database(s) you're talking to. Take some thread dum

Re: tiles 2 JSF integration in tomcat 5.5.25

2007-11-15 Thread itay sahar
i do have, thanks On 11/16/07, Martin Gainty <[EMAIL PROTECTED]> wrote: > > make sure you have $CATALINA_HOME/common/lib/jsp-api.jar > > M-- > - Original Message - > From: "itay sahar" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Thursday, November 15, 2007 7:12 PM > Subject: til

Re: tiles 2 JSF integration in tomcat 5.5.25

2007-11-15 Thread Martin Gainty
make sure you have $CATALINA_HOME/common/lib/jsp-api.jar M-- - Original Message - From: "itay sahar" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 15, 2007 7:12 PM Subject: tiles 2 JSF integration in tomcat 5.5.25 > hi, > i'm trying to forward from index.jsp: > >

tiles 2 JSF integration in tomcat 5.5.25

2007-11-15 Thread itay sahar
hi, i'm trying to forward from index.jsp: to main.jsp: <%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %> this is part of tiles.xml: http://tiles.apache.org/dtds/tiles-config_2_0.dtd";> part of web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://w

Re: connector threads issue

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, Ashish Parikh wrote: > We are using jboss as container for a high volume webservice engine > platform. Are you using Tomcat as the servlet container? If not, then you need to take your question to the folks over at JBoss. - -chris -BEGI

Cannot retrieve rtf file when user data constrains applied

2007-11-15 Thread alla winter
Hello, I am having the following issue: when I apply the security constrain to force users to access our web site via https: CONFIDENTIAL I can not retrieve PDF, excel or rtf files from our web site. When I comment out this constrain, I can access it. The following error message is displ

connector threads issue

2007-11-15 Thread Ashish Parikh
Hello, We are using jboss as container for a high volume webservice engine platform. We use http connector for request to come into the jboss. All our transactoins are very shortlived on average less than a second. Noticed couple of times that current busy thread cont just incrementally goes u

Server Setup Queries

2007-11-15 Thread Infinite Tester
Hello All! I have some queries on how to setup my production machine based on my requirements. My current setup 1) Apache 2.2 and Tomcat 6 2) Apache serving all images + CSS + JS 3) Apache connected to tomcat using mod_jk. 4) Tomcat serving a lot of ajax calls ( backed by memcache + db). Server

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Caldarale, Charles R
> From: Andrew R Feller [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat DB2 JDBC issue > > With all of this grief developing a LoginModule that is used > invoked on a Context basis, I have noticed there are lots of > issues with classes loaded by the server/common classloaders > in the LoginModu

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
Chuck, With all of this grief developing a LoginModule that is used invoked on a Context basis, I have noticed there are lots of issues with classes loaded by the server/common classloaders in the LoginModule that are also needed by the webapp. It cannot be this difficult for everyone. What pitf

RE: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 6.0.x Classloader sequence > > > Is it possible for me to configure the webapp class > > loaders to load classes from a path common to multiple > > webapps before loading from the webapp itself? > > Browsing through the

Re: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread mgainty
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html The best options are $JAVA_HOME/jre/lib/ext then system classpath Common will process $CATALINA_HOME/lib M-- - Original Message - Wrom: QZAAFXISHJEXXIMQZUIV To: "Tomcat Users List" Sent: Thursday, November 15, 2007 12:34 PM S

Re: servlet init error pages

2007-11-15 Thread Adam Parker
Thanks again for all the replies. Now time for some more details. Our app is running as the ROOT application. I removed everything else from ROOT and replaced it with our code. There is only one servlet running in this app, so if it fails no other apps or servlets are running. Tomcat is defini

Re: How to disable Session Persistence in Tomcat 5.5.9

2007-11-15 Thread Kristin Coles
You are right Pid! CAS works using a Ticket Granting Cookie (which references a Ticket Granting Ticket in an HTTP session). I assumed that the Ticket Granting Cookie would be meaningless after the Tomcat restart because the Ticket Granting Ticket object no longer exists on the Server. However, that

Re: [TC 5.0.25] Posting directly to j_security_check

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, Rob Hunt wrote: > I have a form on a page that posts directly to j_security_check: As others have pointed out, you can't do that. If you use a separate authentication mechanism, you can. See the securityfilter project (http://securityfilter.sou

Re: How to disable Session Persistence in Tomcat 5.5.9

2007-11-15 Thread Martin Gainty
this *may help*.. http://forums.atlassian.com/thread.jspa?messageID=257247254 M-- assumption is you're not using hibernate? - Original Message - From: "Kristin Coles" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 15, 2007 12:54 PM Subject: Re: How to disable S

Re: SV: FORM login, would like error page same as login page

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ognjen, Ognjen Blagojevic wrote: > Wilhelmsen Tor Iver wrote: > Yes, I'm using JavaScript. > > I beleive that JavaSrcipt it is okay, because when I try the page alone > (/login.html?err=1), it works just fine. Please post the code that checks for th

RE: clustering mode in apache tomcat 5.5.25

2007-11-15 Thread Clifford Bryant
I don't think that you need to mcastBindAddr in the tag. The default tag doesn't have an mcastBindAddr attribute defined. You can try setting the tcpListenAddr to the IP address of each machine. -Original Message- From: Niki Diulgerov [mailto:[EMAIL PROTECTED] Sent: Thursday, November

Re: How to disconnect a request from current session

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: > For cookie based session tracking, on a jsp or jsf page, when a user > click links, all requests are in the same session. Is there a way to > open a new session when a user clicks a link and send a request? Can > Filter do that ?

Re: load-on-startup problem

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Loredana, loredana loredana wrote: > I had an application where I had a > 1 tag in my web.xml for one of my > servlets so that whenever tomcat starts, it will run some code from > the init() method. Note that this practice is deprecated: use a Servle

RE: Tomcat 6.0.x Classloader sequence

2007-11-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Tomcat 6.0.x Classloader sequence > > Is it possible for me to configure the webapp class loaders > to load classes from a path common to multiple webapps before > loading from the webapp itself? I can't find anything in the docs th

Re: Problem with session activation after restart

2007-11-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacek, Jacek Olszak wrote: > The problem is that the method > HttpSessionActivationListener.sessionDidActivate() is called before > any context listeners. I have a ContextLoaderListener configured in > my web.xml which creates the Spring context. Do

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
Hey Chuck, We had the same idea about the java.library.path property, too. After more fiddling around, I think we figured out what is going on. 1st: Set JAVA_OPTS to include java.library.path to include the SQLLIB/JAVA directory of DB2 Connect 2nd: Removed the DB2java.jar from the web applicati

Re: How to disable Session Persistence in Tomcat 5.5.9

2007-11-15 Thread Pid
Kristin Coles wrote: > Hey Charles, > > Thank you very much for the detailed explanation. I did the following > to disable session persistence, but. > > #Tomcat\conf\server.xml > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false" > expireSessionsOnShutdown

Re: Best Linux distribution

2007-11-15 Thread tomcat
Agreed! At 06:19 AM 11/15/2007, you wrote: And that is the correct answer. On Nov 15, 2007 5:54 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Andrew Hole [mailto:[EMAIL PROTECTED] > > In your opinion what is the best LINUX distribution for a server with > > an instance of Tomcat and

commons-dbcp and tomcat-dbcp

2007-11-15 Thread uma_rk
Env: Redhat, jre6, Tomcat 6.0.14 In migrating a webapp using commons-dbcp from Tomcat 5.5.x to Tomcat 6.0.x, I find that my database fails to obtain connections from the pool. This is a long shot: is there any interplay between tomcat-dbcp (located in ${CATALINA_BASE}/lib and commons-dbcp (situ

Re: How to disable Session Persistence in Tomcat 5.5.9

2007-11-15 Thread Kristin Coles
Hey Charles, Thank you very much for the detailed explanation. I did the following to disable session persistence, but. #Tomcat\conf\server.xml I know that PersitentManager is not advisable but I got the following message in Tomcat logs as a proof that it did di

Tomcat 6.0.x Classloader sequence

2007-11-15 Thread uma_rk
I understand that the webapp classloaders in Tomcat 6.0.x diverge from the delegation model in first loading from the webapp before yielding to the commons class loader. Is it possible for me to configure the webapp class loaders to load classes from a path common to multiple webapps before lo

Enable/Disable servlet via context param

2007-11-15 Thread Matteo Turra
I would like enable/disable a servlet depending on a context init parameter. I wrote this code in my servlet. But I'm not sure I the best way to do it. public void init() { String param = this.getServletContext().getInitParameter("PARAM"); if ("ON".equalsIgnoreCase

Re: Best Linux distribution

2007-11-15 Thread Steve Ochani
If everyone based their decisions solely on that criteria we would be all using pdp-11s. On 15 Nov 2007 at 6:19, Warren Pace wrote: > And that is the correct answer. > > On Nov 15, 2007 5:54 AM, Peter Crowther > <[EMAIL PROTECTED]> wrote: > > > From: Andrew Hole [mailto:[EMAIL PROTECTED] > >

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Caldarale, Charles R
> From: Andrew R Feller [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat DB2 JDBC issue > > By blanking out the environment variable for PATH and > restarting Tomcat, the application, which was being > initialized successfully, now fails in the same way > Tomcat was failing originally, so we th

Re: clustering mode in apache tomcat 5.5.25

2007-11-15 Thread Niki Diulgerov
Thank you very much for the help. Indeed I figured out that have to be in web.xml I was not changing multicast address... it is 228.0.0.4 But I changed multicast bind address on the first machine which have IP address 192.9.202.166 I set mcastBindAddress="192.9.202.166" and on the second with IP

Re: [TC 5.0.25] Posting directly to j_security_check

2007-11-15 Thread Filip Hanik - Dev Lists
David Smith wrote: j_security_check should never be directly referenced. Clients should be requesting a secured resource. Tomcat then saves the request and forwards the client to the login page (specified in WEB-INF/web.xml) which in turn submit's authentication information to j_security_che

RE: clustering mode in apache tomcat 5.5.25

2007-11-15 Thread Clifford Bryant
You should be able to just uncomment the tag in the Tomcat /conf/server.xml file. Then, open the ports, and do 1-3 below, and set up multicast. You need to enable multicast on your network. You need to do 1-3 on both machines. Set the multicast address back to what it was, 228.0.0.4. The mult

Re: [TC 5.0.25] Posting directly to j_security_check

2007-11-15 Thread David Smith
j_security_check should never be directly referenced. Clients should be requesting a secured resource. Tomcat then saves the request and forwards the client to the login page (specified in WEB-INF/web.xml) which in turn submit's authentication information to j_security_check. Then tomcat res

RE: Tomcat suddenly hangs.

2007-11-15 Thread Caldarale, Charles R
> From: Chad Kellerman [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat suddenly hangs. > > I don't think so. Something caused Tomcat to go through its termination sequence. AFAIK, issuing a stop on the designated port (e.g., by some cron script) or calling System.exit() inappropriately are the

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
Trying a few more experiments and made some insights. By blanking out the environment variable for PATH and restarting Tomcat, the application, which was being initialized successfully, now fails in the same way Tomcat was failing originally, so we theorize that Tomcat might be having difficulties

Configuring IIS to cooperate with Tomcat running on AIX.

2007-11-15 Thread Blumlein,Richard
Hello, We are AIX 5.3 running Tomcat 5.5.20 on AIX. I am looking into how to setup IIS to cooperate with Tomcat as part of a single sign on project for a report manager product named Vista Plus. My Vista documentation gives some information with examples of IIS and Tomcat running on Windows mac

[TC 5.0.25] Posting directly to j_security_check

2007-11-15 Thread Rob Hunt
I have a form on a page that posts directly to j_security_check: http://www.site.com/index.htm https://secure.site.com/j_security_check";> When the POST request is received by secure.site.com, it kicks back a 408 response code and this message: "The time allowed for

Re: tomcat in production

2007-11-15 Thread Markus Schönhaber
Caldarale, Charles R wrote: >> From: Markus Schönhaber [mailto:[EMAIL PROTECTED] >> >> AFAICT the main advantage of APR wrt static content is the possibility >> to use sendfile. > > The pure Java NIO connector also supports sendfile. I have successfully managed to overlook that. > Still haven'

clustering mode in apache tomcat 5.5.25

2007-11-15 Thread Niki Diulgerov
Hello friends, I read a lot in internet, connected to #tomcat irc channel but still no help (except one user in irc who told me in this mailing list there are very nice people). So my problem is that I'm trying to use 2 tomcats in clustering mode. I installed standard tomcat 5.5.25 downloaded f

RE: Listener Shutdown Order?

2007-11-15 Thread Jim Garrison
> -Original Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 14, 2007 12:34 PM > To: Tomcat Users List > Subject: Re: Listener Shutdown Order? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jim, > > Jim Garrison wrote: > >> From: Chris

Re: about JK2

2007-11-15 Thread Rainer Jung
Maybe the old jk2 docs archive under http://tomcat.apache.org/connectors-doc-archive/jk2/index.html contains something useful. Regards, Rainer 李征 schrieb: > hi everyone > > i know that jk2 is no longer supported. > but i need to know the format of workers2.properties and jk2.properties > i

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
We just made a little progress though the solution is unacceptable. After placing the DB2Java.jar into the lib/ext of the JDK, the driver is loaded appropriately and a connection is created. The question now is why Tomcat cannot use the driver if it is in the "common" directory? Andrew R Feller,

SV: multiple tomcat processes running on linux

2007-11-15 Thread Wilhelmsen Tor Iver
> When I give ps -ef | grep tomcat, it shows multiple processes running & all of them grabbing majority of the available memory That's covered in the Linux section of the FAQ: Linux ps reports multiple threads as separate processes. Try adjusting the number of threads in server.xml. -

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
We are not explicitly using a SecurityManager; simply created a LoginModule and configured the deployment descriptor for FORM based authentication and a particular role. I realize I should make one other qualification for this thread: this is running on a Windows machine. Though our test and prod

RE: multiple tomcat processes running on linux

2007-11-15 Thread Palat, Anil
Thanks for you valuable suggestion, I'll consider upgrading my OS -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:38 AM To: Tomcat Users List Subject: Re: multiple tomcat processes running on linux On 15/11/2007, at 4:31 PM, Palat, A

Tomcat suddenly hangs.

2007-11-15 Thread Chad Kellerman
Hello everyone, I have a strange problem I am trying to solve. First let me give you the version info.: Using CATALINA_BASE: /export/appl/apache-tomcat-6.0.14 Using CATALINA_HOME: /export/appl/apache-tomcat-6.0.14 Using CATALINA_TMPDIR: /export/appl/apache-tomcat-6.0.14/temp Using JRE_HOME

Re: multiple tomcat processes running on linux

2007-11-15 Thread Andrew Miehs
On 15/11/2007, at 4:31 PM, Palat, Anil wrote: -Tomcat 5.0.16 -Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21 32.0.1.ELsmp (32-bit) When I give ps -ef | grep tomcat, it shows multiple processes running & all of them grabbing majority of the available memory You are running o

FW: multiple tomcat processes running on linux

2007-11-15 Thread Palat, Anil
Hi, I've my application running on the following environment -Tomcat 5.0.16 -Red Hat Enterprise Linux AS release 3 (Taroon Update 4) 2.4.21 32.0.1.ELsmp (32-bit) When I give ps -ef | grep tomcat, it shows multiple processes running & all of them grabbing majority of the available memory Is

Re: Tomcat suddenly hangs.

2007-11-15 Thread Peter Bauer
Am Donnerstag 15 November 2007 schrieb Chad Kellerman: > Hello everyone, >I have a strange problem I am trying to solve. First let me give > you the version info.: > > Using CATALINA_BASE: /export/appl/apache-tomcat-6.0.14 > Using CATALINA_HOME: /export/appl/apache-tomcat-6.0.14 > Using CA

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Caldarale, Charles R
> From: Andrew R Feller [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat DB2 JDBC issue > > The question now is why Tomcat cannot use the driver if it is in the > "common" directory? By any chance, are you running with a SecurityManager? Any access permission issues that would prevent Tomcat fro

Re: Tomcat suddenly hangs.

2007-11-15 Thread Chad Kellerman
I don't think so. I read that a kill -QUIT will generate a thread dump. I guess looking at that might be able to help me isolate the issue??? On Nov 15, 2007 9:47 AM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Chad Kellerman [mailto:[EMAIL PROTECTED] > > Subject: Tomcat suddenly

How to disconnect a request from current session

2007-11-15 Thread Dave
For cookie based session tracking, on a jsp or jsf page, when a user click links, all requests are in the same session. Is there a way to open a new session when a user clicks a link and send a request? Can Filter do that ? If I open a new IE from desktop, all requests from the new IE wind

RE: tomcat in production

2007-11-15 Thread Caldarale, Charles R
> From: Markus Schönhaber [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat in production > > AFAICT the main advantage of APR wrt static content is the possibility > to use sendfile. The pure Java NIO connector also supports sendfile. Still haven't seen any actual performance numbers comparing

RE: Tomcat suddenly hangs.

2007-11-15 Thread Caldarale, Charles R
> From: Chad Kellerman [mailto:[EMAIL PROTECTED] > Subject: Tomcat suddenly hangs. > > No one else has access to the server, so I know no one issued a stop. Perhaps not, but did your webapp attempt a System.exit() call? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PRO

RE: Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
Marty, AFAIK, those are the only two places to obtain the driver. I currently have DB2 Connect v9 installed on my machine, so I have the driver. So far, we are able to get the driver working from a simple Java app compiled via the command line and an application ran in Eclipse. The issue

Re: Tomcat DB2 JDBC issue

2007-11-15 Thread Martin Gainty
Hi Andrew- Apparently the driver is only available thru WAS http://www-1.ibm.com/support/docview.wss?uid=swg21201371 or DB2-Client http://www-306.ibm.com/software/data/db2/support/db2_9/ Anyone else? M-- - Original Message - From: "Andrew R Feller" <[EMAIL PROTECTED]> To: "Tomcat User

Re: FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Wilhelmsen Tor Iver wrote: to see what the real URL is when you expect it to use the error page; most likely that will be the URL of the resource that triggered the authentication in the first place. Yes, the url returned is http://localhost:8080/myapp/j_security_check So the parameters wer

Re: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
> I beleive that JavaSrcipt it is okay, because when I try the page alone (/login.html?err=1), it works just fine. Thinking more about it, the form-error-page reference is just used server-side via internal include or forward to obtain content returned for a different URL: Since the page reference

Tomcat DB2 JDBC issue

2007-11-15 Thread Andrew R Feller
Database: DB2 v7 OS390 Server: DB2 Connect v9, Tomcat 6.0.14, Java 1.6 Issue: LoginModule unable to load driver; raises SQLException "No suitable driver found" Connection String: jdbc:db2:blah Driver: COM.ibm.db2.jdbc.app.DB2Driver I am developing a custom JAAS LoginModule to go against a data

Re: tomcat in production

2007-11-15 Thread Markus Schönhaber
Caldarale, Charles R schrieb: > I suspect the previous posts on this subject are slightly confused. > AFAIK, APR doesn't know or care about the type of content - it's simply > a more efficient mechanism for keeping multiple connections open > simultaneously without tying up a thread for each. It

Re: SV: FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Wilhelmsen Tor Iver wrote: So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. How do you pick up the parameter in the HTML? Using JavaScript? Remember *.html resources are usually not parsed server-side in any way.

SV: FORM login, would like error page same as login page

2007-11-15 Thread Wilhelmsen Tor Iver
> So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. How do you pick up the parameter in the HTML? Using JavaScript? Remember *.html resources are usually not parsed server-side in any way. --

FORM login, would like error page same as login page

2007-11-15 Thread Ognjen Blagojevic
Hi all, I'm using FORM login, and I'm trying to make error page looks the same as login page, with one extra error message. So, I created login.html, with username and password fields, and if parameter err=1 is passed, then the error message is displayed. My web.xml configuration follows:

Re: DefaultServlet, allowLinking, symbolic links do not work

2007-11-15 Thread Artur Rataj
Mark wrote: > Tomcat version? I think I recall some issues with this on older versions. I installed 6.0.14 and it works, thank you for help. Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubsc

jsps giving NoClassDefFoundError in production

2007-11-15 Thread Gaurav Kushwaha
Hi, I have an application running under heavy load. While redeploying, some of my JSPs start throwing NoClassDefFoundError. java.lang.NoClassDefFoundError: com/proj/tag/TagCloud at org.apache.jsp.WEB_002dINF.jsps_.detail_005fpages..Entity1Detail_jsp._jspService (Entity1Detail_jsp.java:

Re: Best Linux distribution

2007-11-15 Thread Warren Pace
And that is the correct answer. On Nov 15, 2007 5:54 AM, Peter Crowther <[EMAIL PROTECTED]> wrote: > > From: Andrew Hole [mailto:[EMAIL PROTECTED] > > In your opinion what is the best LINUX distribution for a server with > > an instance of Tomcat and an J2EE application of medium load? > > The one

RE: Best Linux distribution

2007-11-15 Thread Peter Crowther
> From: Andrew Hole [mailto:[EMAIL PROTECTED] > In your opinion what is the best LINUX distribution for a server with > an instance of Tomcat and an J2EE application of medium load? The one with which your organisation already has experience. Familiarity and ease of admin is king here.

Problem with session activation after restart

2007-11-15 Thread Jacek Olszak
Hi everyone! I've a problem with session activation after Tomcat 6 restart. The problem is that the method HttpSessionActivationListener.sessionDidActivate() is called before any context listeners. I have a ContextLoaderListener configured in my web.xml which create the Spring context. I want my s

Problem with session activation after restart

2007-11-15 Thread Jacek Olszak
Hi everyone! I have a problem with session activation after Tomcat 6 restart.The problem is that the method Thainks in advance, Jacek - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECT

load-on-startup problem

2007-11-15 Thread loredana loredana
I had an application where I had a 1 tag in my web.xml for one of my servlets so that whenever tomcat starts, it will run some code from the init() method. Couple of days ago I moved my project to another computer on a new tomcat instalation and after a while I decided to remove the load on sta

6.0.14, Defaultservlet and 400 errors

2007-11-15 Thread Wilhelmsen Tor Iver
We are running multiple Catalina homes from one install, and ordinary webapps deployed under them work fine. However, whenever static content (in our case PDFs) is requested, Tomcat responds with HTTP 1/1 400 No Host matches server - Running under Linux (Red Hat Enterprise) on JDK 1.5.0_03 as th

mod_proxy_ajp & TIME_WAIT

2007-11-15 Thread David Cassidy
Guys, I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat. apache config - BalancerMember ajp://localhost:8009 route=server1 min=0 smax=1000 max=1000 keepalive=On ProxyPass // balancer://myclusterclear/ stickysession=JSESSIONID|jsessionid Tomc