RE: unable to change tomcat 5.5.20 session manager to PersistentManager

2007-09-06 Thread Caldarale, Charles R
> From: Joe Lopilato [mailto:[EMAIL PROTECTED] > Subject: RE: unable to change tomcat 5.5.20 session manager > to PersistentManager > > For instance, if I configure the standard manager through > context.xml, I again note the configuration (specifically, > the session timeout) is ignored: > >

Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Gabriel Wong
Anurag, As mentioned before on this list, avoid the default Linux JAVA/Tomcat packages. So once you install the JDK rpm from http://java.sun.com and install the Tomcat server from http://tomcat.apache.org, you should not have any compatibility issues. [EMAIL PROTECTED] wrote: Does it require

RE: Garbage Collection and Class unloading

2007-09-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Garbage Collection and Class unloading > > This used to happen because Class objects were never > discarded by the JVM. That's not true, at least not since JVM 1.2 came into use. Class objects are discarded once there are no

Re: How to get Request from RequestFacade

2007-09-06 Thread Bill Barker
"David Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok... do you need them to modify the request and/or response? Or are you > trying to pull some information from the original tomcat internals? > >From his examples below, it looks like he wants access to the TC interna

Re: Garbage Collection and Class unloading

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, Brian Munroe wrote: > Looking at the WEB-INF/lib directory, it has around 76 different jar > files, some actually used in the application, some (well, most) not. > They either pertain to legacy features or are functionality duplicate > (two dif

Re: [OT] context-param vs env-entry. Ready? Fight!

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, In The Beginning, there was only global scope, and it was Good. Then someone said, "nested scopes would be really convenient, so we don't have to manage stacks ourselves," and the nested scope was created, and it was Good. Then someone else s

Re: Garbage Collection and Class unloading

2007-09-06 Thread Brian Munroe
On 9/6/07, David Smith <[EMAIL PROTECTED]> wrote: > I'd think your best bet is to clean out all the dead > in-house code and then thin out the dependencies until it stops > building. If nothing else, refactor your code to pair down the multiple > versions of libraries. > Oh, don't you worry, me

Re: Garbage Collection and Class unloading

2007-09-06 Thread David Smith
Others with more experience in the garbage collection may chime in, but it's my impression that the garbage collection tends to have it's own mind. You can try to force it, but that's no guarantee it will garbage collect anything. I'd think your best bet is to clean out all the dead in-house

Re: Problem with Tomcat 6.0.xx and JAAS and userContextClassLoader

2007-09-06 Thread Mark Thomas
A Sunley wrote: > Is this bug with Tomcat 6, or is it intentional? The version 6 documentation > mentions that setting useContextClassLoader switches between context and > container class loading, but obviously that isn't the case anymore... Ignore my previous post. It is indeed a bug in TC6. Mar

Re: Problem with Tomcat 6.0.xx and JAAS and userContextClassLoader

2007-09-06 Thread A Sunley
Is this bug with Tomcat 6, or is it intentional? The version 6 documentation mentions that setting useContextClassLoader switches between context and container class loading, but obviously that isn't the case anymore... http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JAASRealm markt-2

Garbage Collection and Class unloading

2007-09-06 Thread Brian Munroe
Can someone explain a little bit about classloading really quick? Let me preface this with: I am maintaining an application which I did not develop. Looking at the WEB-INF/lib directory, it has around 76 different jar files, some actually used in the application, some (well, most) not. They eithe

Re: context-param vs env-entry. Ready? Fight!

2007-09-06 Thread Brian Munroe
On 9/6/07, Lionel Crine <[EMAIL PROTECTED]> wrote: > Of course, you ll have to define the JNDI variable in a different way. > But most important, you'll don't have to change your java classes > because the JNDI tree will stay the same. Yep, that is what I am pushing for (JNDI) -- brian ---

Re: Problem with Tomcat 6.0.xx and JAAS and userContextClassLoader

2007-09-06 Thread Mark Thomas
A Sunley wrote: > Is there anyway around this? No. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Automatic notification of certificate expiry

2007-09-06 Thread Andrew Friebel
Mark, Thanks for that. I suspected that cron might be the best option here. Regards, Andrew -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 September 2007 12:32 PM To: Tomcat Users List Subject: Re: Automatic notification of certificate expiry A

RE: Different sessions between JSP and Servlets...

2007-09-06 Thread Mike Cronin
Thanks Christopher. At this point, the context is coded within the server.xml. I understand that the context should be placed within a context.xml file within a META-INF, but doing so has been giving me problems thus far (something I plan to tackle here shortly). As for the JSP/Servlet session is

Re: Question about Session MGMT

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joshua and Rob, Joshua Fielek wrote: > That is because you have one session per browser session. Or, more precisely, your application is using a cookie to maintain state, and since the cookies used for both logins have the same hostname, path, and na

Re: Tomcat 5.5.23: cannot return to login page??

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cun, shunhecun wrote: > My application uses MemoryRealm and FORM-based authentication. > In the file tomcat-users.xml, there is an user called "view", which belongs > to role "users". The role "users" is not included in web.xml of the > applicati

Re: synchronous stop of tomcat

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek, Derek Alexander wrote: > Using: > $CATALINA_HOME/bin/catalina.sh stop > $CATALINA_HOME/bin/catalina.sh start > in quick succession to restart Tomcat, > it is possible that the start operation will run before all ports have been > released by t

Re: Tomcat Farm Deployment and Statistics

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johann, bajistaman wrote: > Is there a way to centrally collect statistics of usage of all of the > tomcat's farm instances? How are you distributing the traffic among the Tomcat instances? Cant' you use a log file from there? If not, you'll have to

Re: Integration with Apache

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, Edd Dawson wrote: > I have a server setup as follows: > > Apache [httpd] -> mod_jk2 -> tomcat Stop right there. Delete mod_jk2. Forget it ever existed (everyone else has). Install mod_jk. Okay, now go: > There are a number of webapps served by

Re: [OT/RANT] Quartz

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doesn't anyone know how to use cron anymore? Sheesh... - -chris Andrew Hole wrote: > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Could you share a hello world sample? >

Re: Different sessions between JSP and Servlets...

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike Cronin wrote: > You should remove both of these attributes from your in context.xml. As mentioned before in this thread, they are at best ignored, and at worst confused by Tomcat or anyone looking at the file. - -chris -BEGIN PGP SI

Re: Programmic login to tomcat using username and password

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: > AFAIK, the J2EE specs does not allow 'spontaneous login' from > webapplication and am not sure tomcat give provision for this. I think it's more like "the J2EE specs do not require it, therefore Tomcat has chosen not to

Re: Programmic login to tomcat using username and password

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quanxin, zhu quanxin wrote: > I am looking for tomcat API for doing programmatic login. I read the > source code of org.apache.catalina.authenticator.SingleSignOn, and > find that it contains a method called reauthenticate maybe helpful. [snip]

RE: unable to change tomcat 5.5.20 session manager to PersistentManager

2007-09-06 Thread Joe Lopilato
Yes Chuck. I did note that as I have consulted the apache docs and numerous other sources prior to resorting this list. However, the issue is broader than PersistentManager and appears related to all manager configurations made via the context.xml file. For instance, if I configure the standard ma

Re: Programmic login to tomcat using username and password

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quanxin, zhu quanxin wrote: > My aim is that tomcat could authenticate users without promoting any > login form. That is usually known as "not authenticating". > I give out the userID and password in the servlet code. when users > navagate the servl

RE: unable to change tomcat 5.5.20 session manager to PersistentManager

2007-09-06 Thread Caldarale, Charles R
> From: Joe Lopilato [mailto:[EMAIL PROTECTED] > Subject: unable to change tomcat 5.5.20 session manager to > PersistentManager > > I am using tomcat version 5.5.20 and am having problems configuring a > persistent session manager. You did note the following bolded, italicized line in the Tom

Re: HttpSessionListener

2007-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashok, OFFICIAL WEBSITE wrote: > I had attached web.xml with th previous mail. It did not come through. > Nevertheless, I am attaching source code of listener and the web.xml > file. The code looks fine (but strange). Are you even seeing "Candidate

unable to change tomcat 5.5.20 session manager to PersistentManager

2007-09-06 Thread Joe Lopilato
Hi All: I am using tomcat version 5.5.20 and am having problems configuring a persistent session manager. I added the following to the element in the context.xml file located in the tomcat_home/conf directory: In order to test whether the above manager configuration changes were

Re: Question about Session MGMT

2007-09-06 Thread Joshua Fielek
That is because you have one session per browser session. If you open a new tab, and log back in, the session is switched to the new user. If you open another instance of IE/FF in another process, you should get another session. if you open another type of browser (Opera, etc.), you can log in

Question about Session MGMT

2007-09-06 Thread ryoung5367
I was searching the archives, but could not find what I thought I needed?? The problem I have is that when I go to my webapp (IE/Firefox) and login as say an admin and then open another tab and login as just a user. The original admin login will fail if I try to do any administrative functions.

Problem with Tomcat 6.0.xx and JAAS and userContextClassLoader

2007-09-06 Thread A Sunley
Hello all, We're using Tomcat 6.0.14 and we need to use JAAS for our webapp. We have a custom login module and it's desirable for us to have the custom LoginModule .jar inside the WEB-INF\lib directory of our webapp. However with Tomcat 6 it appears we can only place the jar in the lib folder of

RE: Different sessions between JSP and Servlets...

2007-09-06 Thread Mike Cronin
Hey Mark, Your question as well as a previous post to another user in which you made the point that the appBase should never point to a root directory helped me resolve this and another JSP issue I was having. The change follows... I cannot thank you and Hassan enough for your assistance with

RE: Different sessions between JSP and Servlets...

2007-09-06 Thread Mike Cronin
The only I reference (whether right or wrong) is the default Context shown above. As coded, all applications successfully load using the default Context, but I'm not able to pass session variables between my servlets and JSPs. Thanks for your reply Mark. Mike Fax.com "The New Way To Fax!"

Re: reponse.setHeader in tomcat

2007-09-06 Thread Gregor Schneider
Take a look at the example below - that should shed some light: http://mail-archives.apache.org/mod_mbox/tomcat-users/200611.mbox/[EMAIL PROTECTED] Cheers Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpke

Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Hassan Schroeder
On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does it require additional configuration? No. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To u

RE: Tomcat Farm Deployment and Statistics

2007-09-06 Thread bajistaman
Have you tried the "Client Deployer Package"? Johann -- View this message in context: http://www.nabble.com/Tomcat-Farm-Deployment-and-Statistics-tf4391810.html#a12528074 Sent from the Tomcat - User mailing list archive at Nabble.com. --

RE: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Anurag.Sharma
Does it require additional configuration? -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, September 06, 2007 12:55 PM To: Tomcat Users List Subject: Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]

Re: Tomcat Logging Configuration

2007-09-06 Thread Lionel Crine
Ole Ersoy a écrit : Hi, I'm trying to point the catalina handler to /var/log/apache-tomcat like by configuring the logging.properties file like this: 1catalina.org.apache.juli.FileHandler.level = FINE 1catalina.org.apache.juli.FileHandler.directory = /var/log/apache-tomcat/ 1catalina.org.ap

Re: Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Hassan Schroeder
On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Has anyone installed Tomcat 6.0.x on RedHat Linux ES 3.0 (Linux kernel > 2.4.2)? Is this a compatible configuration? Tomcat is *Java* -- if you have a JVM that works on your platform, you're set. :-) But for the record, yes, as it happens

Re: create a keystore without user prompting

2007-09-06 Thread Lionel Crine
Hello, If you have a shell, you can use the "expect" package to catch the prompt. It may be a solution. Lionel CRINE - GROUPE LINAGORA Open Source Software Engineer Tel. : 01 58 18 68 28 - Fax : 01 58 18 68 29 www.linagora.com / www.linagora.org oj a écrit : Hi, I want to make batch file

Re: context-param vs env-entry. Ready? Fight!

2007-09-06 Thread Lionel Crine
Hello, IMO, you should use JNDI variable (env) instead of (context variable). In that case, there will be no link the application server and you'll can deploy your application on another server. Of course, you ll have to define the JNDI variable in a different way. But most important, you'll

Re: an easier way to deploy war file?

2007-09-06 Thread Lionel Crine
Peter Stavrinides a écrit : If you set up Tomcat correctly, and place all your jars in the correct places you can hot deploy the war without a restart. This works over plain http, you don't even need access to the server, all you need is a password for the manager (it's better to use a dat

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
This is great, it seems to work for me! I just found this page, which describes the issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 In post #16, it is suggested that "RewriteMap esc int:escape" is required to correctly escape the non-query part of the URL. Is that true? Thanks f

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread fredk2
The mod_rewrites encoding can be changed with option 'noescape|NE' (no URI escaping of output) This flag keeps mod_rewrite from applying the usual URI escaping rules to the result of a rewrite. Ordinarily, special characters (such as '%', '$', ';', and so on) will be escaped into their hexcode

Re: localhost.log vs. catalina.out

2007-09-06 Thread Lionel Crine
Hello, If I may add more information : In a production context, you should never use catalina.out to find application errors. Everything should be logged into the juli and/or log4j log files. Anyway, catalina.out will always contain non catchable errors. Lionel Lionel CRINE - GROUPE LIN

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
> why aren't you > switching to https before it gets complicated, i.e. when a simple request > is coming in, like for the form page itself? Unfortunately, that is not an option. > - is the Location header apache httpd sends back for the > redirect still > OK? You can check with a commandlin

RE: Tomcat Farm Deployment and Statistics

2007-09-06 Thread Caldarale, Charles R
> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat Farm Deployment and Statistics > > I was reading about JMX and Tomcat and I wonder if is it > better (more secure?) to do it at the low level as you > suggested or by using the JMX API? I think using JMX would make it more compl

Compatibility of Tomcat 6.0 on Redhat Linux 3.0 ES

2007-09-06 Thread Anurag.Sharma
Has anyone installed Tomcat 6.0.x on RedHat Linux ES 3.0 (Linux kernel 2.4.2)? Is this a compatible configuration? If not, then what is the highest version that is compatible on the 3.0 version? Any help on the issue is most appreciated. Thanks, Anurag

Re: Quartz

2007-09-06 Thread Sergey Livanov
Do as you know and as it is more convenient. I can't start with org.quartz.ee.servlet. QuartzInitializerServlet init but when has tried spring - all has worked for 5 minutes. It is very pleased. In Quartz forum answer badly, it is lazy. In spring - it is very good. Support is much better. This m

RE: Tomcat Farm Deployment and Statistics

2007-09-06 Thread bajistaman
Thanks Charles, I was reading about JMX and Tomcat and I wonder if is it better (more secure?) to do it at the low level as you suggested or by using the JMX API? Johann -- View this message in context: http://www.nabble.com/Tomcat-Farm-Deployment-and-Statistics-tf4391810.html#a12526752 Sent fr

Accessing the connection pool

2007-09-06 Thread Scott Marshall
Greetings I have web applications running connection pools under the name jdbc/connectionPool, and these web applications can connect without any problems. Now I’m working on a security application, to be run as a client jar to the webapps. This jar does the lookup onto the multiple authentic

Re: Can two Tomcat web apps deadlock each other?

2007-09-06 Thread Wm.A.Stafford
Peter, Thanks for replying. I don't think server load is a factor but I will look into it. What makes me think that load is probably not the cause is that when there are no startup errors everything starts and runs as normal in the normal amount of time. The problem occurs when one app

RE: Can two Tomcat web apps deadlock each other?

2007-09-06 Thread Peter Crowther
> From: Wm.A.Stafford [mailto:[EMAIL PROTECTED] > Does > the fact that this Tomcat behavior does not occur on the > windows-based > development server offer any clue as to what may be happening on the > linux server when Tomcat hangs? I'm going to take a guess: server load. How heavily do y

Tomcat 5.5.23: cannot return to login page??

2007-09-06 Thread shunhecun
Hi, My application uses MemoryRealm and FORM-based authentication. In the file tomcat-users.xml, there is an user called "view", which belongs to role "users". The role "users" is not included in web.xml of the application. If I try to login the application with the user "view", I get an err

Re: Tomcat memory issues

2007-09-06 Thread Peter Warren
Is it possible you're caching Request or Response objects somewhere and not releasing them? I just did a bunch of memory profiling and many of the classes you mention are the same classes I see when I open and don't close a bunch of connections to the server. -

Re: mod_jk errors and http status code 503 under load

2007-09-06 Thread Rainer Jung
Damien Corbishley wrote: Hi Rainer, Apache: Server version: Apache/2.0.55 Server built: Mar 5 2007 11:10:17 Server's Module Magic Number: 20020903:11 Yes, we are thinking about updating the Java, I was in the process of checking the release notes to see if anything specific was mentioned.

Re: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Rainer Jung
I know that's not the answer you like: but why aren't you switching to https before it gets complicated, i.e. when a simple request is coming in, like for the form page itself? To debug the problem you described, we would have to find out, at which stage the problem starts: - is the Location

synchronous stop of tomcat

2007-09-06 Thread Derek Alexander
Using: $CATALINA_HOME/bin/catalina.sh stop $CATALINA_HOME/bin/catalina.sh start in quick succession to restart Tomcat, it is possible that the start operation will run before all ports have been released by the instance I'm stopping. Is there a synchronous method for stopping Tomcat, i.e. one th

Re: Tomcat memory issues

2007-09-06 Thread Dwayne
If you don't want to cache internally then you need a distributed caching scheme. There is an open source solution from the guys at Terracotta.org they call Network Attached Memory. Basically you can deploy a virtual heap against disk and make your memory as big as you want. They built all sorts

Re: How to get Request from RequestFacade

2007-09-06 Thread Tremal Naik
2007/9/6, David Smith <[EMAIL PROTECTED]>: > help. I'm still unclear as to why you need access those object. If you > could say more about that, someone might be able to offer a better way > to do what you want. ok, I need to access some of the Catalina Session specific features. In the Valve i

Re: mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Henk Fictorie
Rainer, Thanks for your response. You mentioned our setting of retries=1, so I reread the documentation to find out that it actually means 'no retries'. I have now commented out that line, so it will get the default value of 2. It will let you know if it helped. regards Henk Rainer Jung-3 wrot

Integration with Apache

2007-09-06 Thread Edd Dawson
Hi New to the list here :) I have a server setup as follows: Apache -> mod_jk2 -> tomcat There are a number of webapps served by tomcat: /ROOT -> available on http://www.mydomainname.com/ /webapp2 ->available on http://www.mydomainname.com/webapp2 /webapp3 -> available on http://www.mydomain

RE: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
Ok, that makes it clear to me. Thanks for the exhaustive reply! Btw., I didn't configure the servers, I'm just trying to get my forms data through and understand as much as possible. :-) So I switched to GET, but again, I ran into issues, this time it is character-encoding related. The Tomcats

RE: mod_jk errors and http status code 503 under load

2007-09-06 Thread Damien Corbishley
Hi Rainer, Apache: Server version: Apache/2.0.55 Server built: Mar 5 2007 11:10:17 Server's Module Magic Number: 20020903:11 Yes, we are thinking about updating the Java, I was in the process of checking the release notes to see if anything specific was mentioned. Mod JK: mod_jk/1.2.15 Work

Re: mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Rainer Jung
Hi Henk, Henk Fictorie wrote: Hi, We are using mod_jk 1.2.21 on Solaris 8. together Apache 2.0.59 with the worker MPM. We are moving our applicationserver to a new version which is also using a new Tomcat version. We now have a split application which is using both Tomcat 5.0 and the other part

RE: Tomcat Farm Deployment and Statistics

2007-09-06 Thread Caldarale, Charles R
> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: Tomcat Farm Deployment and Statistics > > Is there a way to distribute the deployment of an application > through many tomcat's farm instances in different machines > setting a context path that is different than the war's name? If you wan

Re: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-06 Thread David Smith
Now that was just plain unnecessary. Sure it was a lazy question, but you could always just delete it. --David Clemens Eisserer wrote: Hohoho, Happy Christmas! By the way: Read the fucking manual! lg Clemens 2007/9/3, MOHD SUFIAN BIN ZAKARIAH ZAKARIAH <[EMAIL PROTECTED]>: Hello I ha

Re: mod_jk errors and http status code 503 under load

2007-09-06 Thread Rainer Jung
Damien Corbishley wrote: Hi, I'm getting stuck with an error we are seeing on our production server under load. We upgraded our combination of Apache,Tomcat,Java all running on Solaris 10 to Apache 2_2.0.55.build2 This doesn't sound like a real Apache httpd version. You can check the real v

Re: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-06 Thread Clemens Eisserer
Hohoho, Happy Christmas! By the way: Read the fucking manual! lg Clemens 2007/9/3, MOHD SUFIAN BIN ZAKARIAH ZAKARIAH <[EMAIL PROTECTED]>: > Hello > > I have something question about Tomcat version. I want to know that Tomcat > 6.x have difference with Tomcat 5.x and other. Can give explainati

RE: Tomcat memory issues

2007-09-06 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten > Subject: Tomcat memory issues > > Are there any way to stop Tomcat from cached these large > byte[] internally? If you look near the end of conf/catalina.properties, you'll see some caching enable/disable lines; you might try turning o

Re: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Rainer Jung
Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 10.3.2 301 Moved Permanently The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automat

Re: How to get Request from RequestFacade

2007-09-06 Thread David Smith
Don't know -- maybe one of the devs that monitor the list can offer some help. I'm still unclear as to why you need access those object. If you could say more about that, someone might be able to offer a better way to do what you want. --David Tremal Naik wrote: 2007/9/6, Tremal Naik <[EM

Re: Quartz

2007-09-06 Thread Andrew Hole
I found something interesting, maybe is what I need! Spring and Quartz together is a good solution but I don't want another component in my java web application. What's your opinion? 1) It would be helpful to show an example of how to configure Quartz to work without a custom servlet. It can be do

Re: POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Mikolaj Rydzewski
Michael Böckling wrote: http page => form post to http url => rewrite url to https, switch to SSL => display https url What do you mean by 'rewrite url to https, switch to SSL '? Do you send HTTP redirect? If so, POST data is obviously lost. In other case, if you do not send redirect, why

Re: Quartz

2007-09-06 Thread Pid
Andrew Hole wrote: > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Could you share a hello world sample? > > Thanks a lot > http://www.opensymphony.com/quartz/wikidocs/Tutorial.html http://www.opensymphony.com/quartz/

Re: Problem with form based JSP authentication using Firefox with Tomcat

2007-09-06 Thread Pid
Luke McMahon wrote: > Thanks again P, Can you include the source of /index.html and /members/index.html (is it html or JSP?) p > Yeah I actually already had the meta tags at the top, and modified everything > to match your example exactly. I also tried using separate login and error > p

mod_jk errors and http status code 503 under load

2007-09-06 Thread Damien Corbishley
Hi, I'm getting stuck with an error we are seeing on our production server under load. I've googled and found many posts on similar topics but I haven't found an answer yet, I was hoping somebody here could shed some light on my issue: We upgraded our combination of Apache,Tomcat,Java

Re: Quartz

2007-09-06 Thread Sergey Livanov
this code works for me well baseportal.com.portal.sheduler.SimpleJob baseportal.com.portal.sheduler.Simple2Job 1000 3000 0/15 * 22 * * ? 2007/9/6, Andrew Hole <[EMAIL PROTECTED]>: > > I can't find an example of using Quartz t

Re: Quartz

2007-09-06 Thread Sergey Livanov
Andrew, It is the best way to use Quartz together with spring. Look the documentation, there all very well is described. 2007/9/6, Andrew Hole <[EMAIL PROTECTED]>: > > I can't find an example of using Quartz to scheduling jobs on Tomcat Web > application. > Someone already work with Quartz? Co

POST data lost when switching URL using mod_rewrite and mod_jk

2007-09-06 Thread Michael Böckling
Hi folks! I Have the following setup: Apache/2.2.4 mod_ssl/2.2.4 mod_jk/1.2.25 mod_rewrite (?) Apache Tomcat 5.5.23 Browser ==> Apache + mod_rewrite ==> mod_jk ==> Tomcat This is a Linux machine, and mod_rewrite is used to switch to SSL on certain URLs. Problem: the POST data is lost whene

Quartz

2007-09-06 Thread Andrew Hole
I can't find an example of using Quartz to scheduling jobs on Tomcat Web application. Someone already work with Quartz? Could you share a hello world sample? Thanks a lot

reponse.setHeader in tomcat

2007-09-06 Thread Odelya Glick
Hello, I am trying to change the response header in tomcat by setting: Response.setHeader("Content-Type","text/plain") in a servletFilter. But it doesn't work. Any idea for it? Odelya Glick JPost.com web-programmer 050-2052075

Re: Can two Tomcat web apps deadlock each other?

2007-09-06 Thread Wm.A.Stafford
Alexey, Thanks for taking the time to reply. I'll try all your suggestions but I wanted to investigate the windows vs linux possibilities. Does the fact that this Tomcat behavior does not occur on the windows-based development server offer any clue as to what may be happening on the linu

Tomcat Farm Deployment and Statistics

2007-09-06 Thread bajistaman
Is there a way to distribute the deployment of an application through many tomcat's farm instances in different machines setting a context path that is different than the war's name? Is there a way to centrally collect statistics of usage of all of the tomcat's farm instances? Thanks, Johann --

Re: How to get Request from RequestFacade

2007-09-06 Thread Tremal Naik
2007/9/6, Tremal Naik <[EMAIL PROTECTED]>: > ok, I don't need to modify the Request or Response. I'm trying to read them. by the way, I'd be glad if I was able to read the StandardSession. I mean, even if it's not possible reading the Request, maybe it's easier accessing the Session behind the Sta

Usertransaction

2007-09-06 Thread Gerard Biemolt
Hi All, I'm currently trying to create a transaction between a standalone application and a web service. By starting a usertransaction in the standalone app and bridging it to/with the web service. However I'm unable to get use a transaction in the web service. I took these steps: - published a t

Re: How to get Request from RequestFacade

2007-09-06 Thread Tremal Naik
2007/9/6, David Smith <[EMAIL PROTECTED]>: > Ok... do you need them to modify the request and/or response? Or are > you trying to pull some information from the original tomcat internals? ok, I don't need to modify the Request or Response. I'm trying to read them. Maybe a Wrapper is too much...

Re: How to get Request from RequestFacade

2007-09-06 Thread David Smith
Ok... do you need them to modify the request and/or response? Or are you trying to pull some information from the original tomcat internals? I first assumed you were attempting to modify the request or response, so a wrapper is ideal. All you have to do is create a class that extends HttpSer

Re: How to get Request from RequestFacade

2007-09-06 Thread Tremal Naik
That's the point, I don't know much about request/response wrapping. I don't need the Facade itself, what I need are the "real" Catalina Request/Response objects hidden behind it. I don't know how to get them from inside a Filter. Thanks, TN 2007/9/6, David Smith <[EMAIL PROTECTED]>: > May I as

Re: How to get Request from RequestFacade

2007-09-06 Thread David Smith
May I ask what exactly you want to do with the facade? Seems like you could do what you want with a request or response wrapper instead. --David Tremal Naik wrote: Hello, I'v been using a valve to perform license checking in my web application. The method invoke(Request request, Response res

How to get Request from RequestFacade

2007-09-06 Thread Tremal Naik
Hello, I'v been using a valve to perform license checking in my web application. The method invoke(Request request, Response response) had access to the Request and Response objects, allowing me to perform some advanced operations. For instance, I made use of instructions like: Session catalinaSes

Re: Issue with psql driver

2007-09-06 Thread David Smith
Ahh... I see the root cause now. It is indeed caused by the JVM's security manager: Caused by: java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve) Looking at your original post, I see (forgive the recap, but I wanted to refresh the relevant parts)

Re: Issue with psql driver

2007-09-06 Thread Chris Baty
Hi All, I've tried at least 4 drivers, changing the url to localhost:test, localhost:5432:test, 127.0.0.1:test This is my current trace: Error occurred: org.postgresql.util.PSQLException: Something unusual has occured to cause the driver to fail. Please report this exception. org.postgresql.util.P

mod_jk - connectionTimeout en connection_pool_timeout

2007-09-06 Thread Henk Fictorie
Hi, We are using mod_jk 1.2.21 on Solaris 8. together Apache 2.0.59 with the worker MPM. We are moving our applicationserver to a new version which is also using a new Tomcat version. We now have a split application which is using both Tomcat 5.0 and the other part is using Tomcat 5.5. For tomcat

Re: Programmic login to tomcat using username and password

2007-09-06 Thread David Delbecq
I somehow understand what you are trying to do. I suppose your idea is to have user get an email with a serial number that allow them direct access to a secured page. This serial would be associated internally by your app with that user's credential. AFAIK, the J2EE specs does not allow 'spontaneo