Re: Out of Memory exception (hotspot compilation)

2010-06-03 Thread Leon Rosenberg
On Thu, Jun 3, 2010 at 1:54 AM, Leon Kolchinsky lkolc...@gmail.com wrote: Yep :) You're right Charles. Thanks, Leon From Leon To Leon, an advice from personal experience and the golden rule of the tomcat user list, write it down in glowing red letters on the wall you are looking at most:

Re: Error on startup catalina

2010-06-03 Thread Bob Hall
Sondro, --- On Wed, 6/2/10 at 2:57 PM, Sandro Gallo sandro.gallo...@gmail.com wrote: TOMCAT version: 6.0.26. java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) The version of

Re: Error on startup catalina

2010-06-03 Thread Pid
On 02/06/2010 22:33, Sandro Gallo wrote: Hi, Using recently Tomcat. So far I have used it on a Windows XP machine, and everything went well. I decided to install it on a machine Mac, Mac OS X Snow Leopard, but can not boot. I do not know how to solve the problem, and I need to use Tomcat.

How can I increase maximum upload size?

2010-06-03 Thread Ivan Mladenović
Hi, I am using the Tomcat 6.0.26 and I try to upload file that is larger than 1 bytes from JSP. I try to increase the maximum upload size (for post request). I change the Connector element: Connector port=8081 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8444

Re: Error on startup catalina

2010-06-03 Thread Sandro Gallo
Hi, Tomcat folder under /Library was created using: sudo mkdir ... The files in the folder $CATALINA_HOME/bin have the permissions to be executed by all (ugo). My user is part of the group admin - admin:admin and sandro:admin. I also removed attribute '@', that in Snow Leopard identifies the

migration from apache tomcat 5.5.20 to 6.0.26 procedure required.

2010-06-03 Thread prakash mahavrataya
Hi All, I have to migrate the existing tomcat from 5.5.20 to 6.0.26. As i found that the folders common and shared do not exist in 6.0.26. So I am not sure how to migrate from the current to the latest. Please send me the procedure for successful migration without any loss of files and folders.

Re: migration from apache tomcat 5.5.20 to 6.0.26 procedure required.

2010-06-03 Thread Pid
On 03/06/2010 12:21, prakash mahavrataya wrote: Hi All, I have to migrate the existing tomcat from 5.5.20 to 6.0.26. As i found that the folders common and shared do not exist in 6.0.26. So I am not sure how to migrate from the current to the latest. Please send me the procedure for

Re: How can I increase maximum upload size?

2010-06-03 Thread Ivan Mladenović
Hi, I solve the problem by defining following bean: bean id=*multipartResolver* class=* org.springframework.web.multipart.commons.CommonsMultipartResolver* p:maxUploadSize=*-1* / If -1 is set for maximum upload size, then size of file will not be checked. Best Regards,

Unrecognized VM option '+HeapDumpOnCtrlBreak'

2010-06-03 Thread Kaushal Shriyan
Hi, I am running tomcat 5.5.27 on ubuntu 8.04, java version is java -version java version 1.6.0_06 Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode) I did added JAVA_OPTS=-Xms512m -Xmx4500m -XX:+HeapDumpOnCtrlBreak

Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'

2010-06-03 Thread Bill Au
That option is not available in Java 6. With Java 6, you can use jmap to take a heap dump. Bill On Thu, Jun 3, 2010 at 9:12 AM, Kaushal Shriyan kaushalshri...@gmail.comwrote: Hi, I am running tomcat 5.5.27 on ubuntu 8.04, java version is java -version java version 1.6.0_06 Java(TM) SE

Re: migration from apache tomcat 5.5.20 to 6.0.26 procedure required.

2010-06-03 Thread Mark Thomas
On 03/06/2010 12:28, Pid wrote: On 03/06/2010 12:21, prakash mahavrataya wrote: Hi All, I have to migrate the existing tomcat from 5.5.20 to 6.0.26. As i found that the folders common and shared do not exist in 6.0.26. So I am not sure how to migrate from the current to the latest. Please

Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'

2010-06-03 Thread Kaushal Shriyan
On Thu, Jun 3, 2010 at 6:55 PM, Bill Au bill.w...@gmail.com wrote: That option is not available in Java 6. With Java 6, you can use jmap to take a heap dump. Bill Hi Bill Please let me know the jmap option to take a heap dump Thanks, Kaushal

RE: Unrecognized VM option '+HeapDumpOnCtrlBreak'

2010-06-03 Thread Caldarale, Charles R
From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Subject: Re: Unrecognized VM option '+HeapDumpOnCtrlBreak' Please let me know the jmap option to take a heap dump Please do a little work on your own. http://www.lmgtfy.com/?q=jmap+heap+dump - Chuck THIS COMMUNICATION MAY CONTAIN

OT: Pluto and Tomcat

2010-06-03 Thread Søren Blidorf
Hi. I am new to portlets and Pluto. I have installed Pluto on my existing Tomcat and it works fine. However I am having difficulties setting up a helloworld portlet. I have created the portlet.xml and the helloworld.java. Compiled and deploy but nothing happens. I have tried

HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Hello, I have a problem with my Tomcat instance, I'm using: Tomcat 6.0.26 Java jdk 1.5.0_17 Windows XP SP3 I have implemented a JAAS login module for my application and everything goes fine except from one thing. Here are the steps that I am doing: 1)Request a protected resource -

RE: Thread Dump

2010-06-03 Thread Caldarale, Charles R
From: suchismitasuchi [mailto:suchismitasu...@rediffmail.com] Subject: Thread Dump Can you please tell whether there is any problem with the below thread dump? Probably. You've got lots of threads in this condition: http-8000-Processor25 daemon prio=1 tid=0x2aaab41eeb90 nid=0x3667

single user session and block log-in after faut

2010-06-03 Thread banto
Hi gurus, i would like to know how to fix the following problems: 1) how can i set tocat in such a way to permit only one session per user? : let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat should block the second session because already logged-in. 2) Tomcat rejects any

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Savoy, Melinda
Question. Does the host in the workers.properties file need to match the HOST name in the server.xml file (see below): worker.scmisWorker.type=ajp13 worker.scmisWorker.host=scmis worker.scmisWorker.port=8009 Host name=scmis appBase=scmisapp unpackWARs=true autoDeploy=false

RE: single user session and block log-in after faut

2010-06-03 Thread Caldarale, Charles R
From: banto [mailto:banto...@gmail.com] Subject: single user session and block log-in after faut i would like to know how to fix the following problems: We would like to know what Tomcat version you're using and what kind of Realm you've chosen to use. 1) how can i set tocat in such a way

Re: OT: Pluto and Tomcat

2010-06-03 Thread Pid
On 03/06/2010 14:55, Søren Blidorf wrote: Hi. I am new to portlets and Pluto. I have installed Pluto on my existing Tomcat and it works fine. However I am having difficulties setting up a helloworld portlet. I have created the portlet.xml and the helloworld.java. Compiled and deploy

Re: single user session and block log-in after faut

2010-06-03 Thread Pid
On 03/06/2010 16:45, banto wrote: Hi gurus, i would like to know how to fix the following problems: 1) how can i set tocat in such a way to permit only one session per user? : let´s say userA logs-in from PC-A.Then userA logs-in from PC-B. Tomcat should block the second session because

Re: Error on startup catalina

2010-06-03 Thread Sandro Gallo
Hi, prior to this new installation, i had not used symbolic link, but i did untar package in folder /Library/Tomcat: the result was always the same: no startup. I checked the permissions in the $CATALINA_HOME/bin, which i show below: macmac:bin sandro$ pwd /Library/Tomcat/Home/bin macmac:bin

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Propes, Barry L
I had that happen periodically for years with my version of TC 4.1.31. With some folks, we could get it to go away, by cleaning out browser cache. With others, it was the same people that incurred it all the time. They could access other protected areas, but not the one. I ended up making a

RE: Adding memory to Tomcat 6.0 as a service?

2010-06-03 Thread Debbie Shapiro
Thanks Konstantin! That helps immensely. :-) -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, June 02, 2010 3:35 PM To: Tomcat Users List Subject: Re: Adding memory to Tomcat 6.0 as a service? 2010/6/3 Konstantin Kolinko

RE: Adding memory to Tomcat 6.0 as a service?

2010-06-03 Thread Martin Gainty
if you want to start tomcat with catalinabat/sh set JAVA_OPTS -Xms for min memory -Xmx for max memory e.g. JAVA_OPTS=-Xms256m -Xmx512m anything else.. follow Konstantin's advice Martin Gainty __ Verzicht und

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Hello Barry, Thank you very much for your quick respone, but I think that version of Tomcat was very old compared to Tomcat 6.0.26 I think the problem should be fix by now. So you suggest that I manually should clear my browser's cache?And this should fix my problem? On

Re: Error on startup catalina

2010-06-03 Thread Pid
On 03/06/2010 17:10, Sandro Gallo wrote: Hi, prior to this new installation, i had not used symbolic link, but i did untar package in folder /Library/Tomcat: the result was always the same: no startup. I checked the permissions in the $CATALINA_HOME/bin, which i show below: macmac:bin

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Pid
On 03/06/2010 15:29, Gheorghe Pucea wrote: Hello, I have a problem with my Tomcat instance, I'm using: Tomcat 6.0.26 Java jdk 1.5.0_17 Windows XP SP3 I have implemented a JAAS login module for my application and everything goes fine except from one thing. Here are the steps

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Propes, Barry L
It worked for some users; for others it did not. I'm not sure I ever received a definitive reason for it happening - especially to random users -- but it happened to the same set of users most all the time, where others weren't affected. You could try that first, and see if that worked. If

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Propes, Barry L
Yeah, I'd say he shouldn't be going back to the login page but rather to the protected page. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, June 03, 2010 12:11 PM To: Tomcat Users List Subject: Re: HTTP Status 400 - Invalid direct reference to form login page!

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Savoy, Melinda
Let me try to answer Andre's questions below as well as communicate the results I got given the settings I have in the Windows 2003 server and ANY HELP or DIRECTION would be GREATLY APPRECIATED : I spoke to the guy who had setup our Tomcat server and he said that the SECOND HOST in our

Re: Error on startup catalina

2010-06-03 Thread Hassan Schroeder
On Thu, Jun 3, 2010 at 10:08 AM, Pid p...@pidster.com wrote: If you take a fresh download and unzip it in a sub directory of your user account, will it run there? As a reference point -- here's a fresh install on a Mac/Snow Leopard system: ripple:~/Downloads$ ls apache-tomcat-6.0.26.tar.gz

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Hello Barry, Exactly that is my problem, on every forum says that this error happens when you access directly the login page, but when I log out from my app I redirect the url to point to a restricted resource then my login page appears and when I enter the username/password the error

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Sorry Pid I didn't noticed your message. By when I get back to the login page I mean that I log out from my app and then I redirect my app to a restricted resource and when my login page appears I type my User/pass and the error occurs. I want to add something, when I log out and after I

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Propes, Barry L
Sounds like the session's not getting invalidated properly? -Original Message- From: Gheorghe Pucea [mailto:george.pu...@gmail.com] Sent: Thursday, June 03, 2010 1:13 PM To: Tomcat Users List Subject: Re: HTTP Status 400 - Invalid direct reference to form login page! Hello Barry,

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Exactly, I supposed that too but when the user click's the logout button a servlet is called and that servlet invalidates the session after that from the server side a response is given back to the UI from where my application is redirected to a restricted resource. So I checked the

simple, fast to setup, javabased CMS for small sites? (not really OT I think )

2010-06-03 Thread MB
With the wealth of java-based CMS's at http://java-source.net/open- source/content-managment-systems I was wondering if you guys could share your views on the matter when it comes for javabased CMS's for small sites? What are you guys running on Tomcat, if at all? I need: More or less total

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Propes, Barry L
Would there be some sort of caching mechanism keeping the session alive somehow? -Original Message- From: Gheorghe Pucea [mailto:george.pu...@gmail.com] Sent: Thursday, June 03, 2010 2:37 PM To: Tomcat Users List Subject: Re: HTTP Status 400 - Invalid direct reference to form login

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
I didn't found one.I don't know, but when I close my browser or I refresh the page it work's so it's definitely something about the session. Thank you! On Thu, Jun 3, 2010 at 11:01 PM, Propes, Barry L barry.l.pro...@citi.comwrote: Would there be some sort of caching

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Savoy, Melinda
I think I was finally able to TEST that my tomcat connector and its respective config files have been setup correctly. I think I have narrowed my problem to an IIS Directory Security ISSUE on jakarta. If anyone has run into this issue can you please respond to the following problem: In IIS I

Re: [OT] Re: problems at thejarbar.org

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 6/3/2010 3:41 AM, yucca...@live.co.za wrote: Ok I appreciatethis big help. I am expecting a small amount of users though so does that mean that a datasource realm may be overkill? I am not implying that this is what was being said

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Melinda, On 6/3/2010 11:48 AM, Savoy, Melinda wrote: Does the host in the workers.properties file need to match the HOST name in the server.xml file (see below): worker.scmisWorker.type=ajp13 worker.scmisWorker.host=scmis

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Melinda, On 6/3/2010 1:52 PM, Savoy, Melinda wrote: I spoke to the guy who had setup our Tomcat server and he said that the SECOND HOST in our server.xml file was there to define the virtual host that is in our enterprise DNS (see settings below).

Re: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread André Warnier
Hi. Now we're cooking ! But by the way, now this is also OT for this list, because your problem now seems to be between the browser and the webserver. First, please do the following : using Google, find the the IE plugin named Fiddler 2 and install it in your IE browser. That is a plugin

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gheorghe, On 6/3/2010 2:18 PM, Gheorghe Pucea wrote: By when I get back to the login page I mean that I log out from my app and then I redirect my app to a restricted resource and when my login page appears I type my User/pass and the error

Re: single user session and block log-in after faut

2010-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck On 6/3/2010 12:00 PM, Caldarale, Charles R wrote: If you want to prevent second logins, you'll need your own Realm. Another option is that you might be able to configure or modify SecurityFilter to do the job. FWIW, sf doesn't have this

RE: How can I get the user value in the request forwarded to my Tomcat in my Java app?

2010-06-03 Thread Leo Donahue - PLANDEVX
I can't remember if anyone has already mentioned this. If so, my apologies. In IIS, do you have a Web Service Extension that is mapped to the isapi_redirect.dll, and that is set to allowed? -Original Message- From: Savoy, Melinda [mailto:melindasa...@texashealth.org] Sent: Thursday,

Re: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Gheorghe Pucea
Hello Cris, *After you call session.invalidation(), what does your code do, specifically? If you do a forward to a protected resource, strange things may happen with cookie-passing.* After the session get's invalidate(on the server side) my code send back a request success to the UI and then the

fail_on_status question

2010-06-03 Thread Mohit Anchlia
In our present environment we have a WS and APP server. When request comes in, WS sends it to APP server using mod_jk and then APP server inserts it into JMS queue. So essentially APP server is also dependent on JMS server which runs on the same box. My question is can I use fail_on_status in

Re: simple, fast to setup, javabased CMS for small sites? (not really OT I think )

2010-06-03 Thread Leon Kolchinsky
Hmm, Confluence? Although it's more a enterprise wiki but you get all you want (CSS, blogs, gallery...). There is a 10$ starter license. You may give it a shot. Regards, Leon On Fri, Jun 4, 2010 at 05:50, MB digital.disc...@gmail.com wrote: With the wealth of java-based CMS's at

RE: HTTP Status 400 - Invalid direct reference to form login page!

2010-06-03 Thread Martin Gainty
the reference is to URLEncoder class URLEncoder Utility class is used for HTML form encoding. This class contains static methods for converting a String to the application/x-www-form-urlencoded MIME format javadoc for encode methods of the URLEncoder are illustrated at

Re: Out of Memory exception (hotspot compilation)

2010-06-03 Thread Leon Kolchinsky
Hello, Just wanted to update on this issue. Atlassian support confirms that this is a known issue with Java 6.0_18 and up. So, the best solution for now is to use 6.0_17 Here -