Ajax, Lizard Brain Web Design, JSF, Struts, JavaScript, Mobile Web, Fl ash, jQuery, GWT, Harmony at India’ s No.1 Software Developer Conference

2010-04-09 Thread satpal
Great Indian Developer Summit 2010 – India's Biggest Polyglot Conference and Workshops for IT Software Professionals Bangalore, April 9, 2010: The GIDS.Web Conference and Workshops has announced the complete program of over 30 sessions on how browser and rich web technologies such as AJAX, DHTML,

Installing certificate chain on Tomat

2010-04-09 Thread /U
i am installing certificate chain on tomcat 6.x (JRE 1.6). From my CA I have private key (PEM), identity cert (PEM) (CA X trusts myhost) and a cert chain file (PEM file) (entrust trusts CA X) The cert chain is: (entrust) === trusts ==> (CA X) == trusts ==> myhost I have converted t

Re: Tomcat 6 fresh install, will not startup,

2010-04-09 Thread Robert Wolf
Thanks for the quick fix. The problem was the environment variable CATALINA_HOME Do not set one up. JAVA_HOME is okay. --- On Fri, 4/9/10, Christopher Schultz wrote: From: Christopher Schultz Subject: Re: Tomcat 6 fresh install, will not startup, To: "Tomcat Users List" Received: Friday, April

Tomcat 5.4 exist?

2010-04-09 Thread Sébastien Charland
Hi, I just want to know if there is a Tomcat version 5.4 and where I can find it. I checked on the archive but there is only 5.0.x and 5.5.x versions. Someone told me that he have a Tomcat 5.4 installed. thank you! Sébastien

Re: Tomcat 6 fresh install, will not startup,

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 4/9/2010 5:13 PM, Robert Wolf wrote: > Did I fresh install and did not > modify any of the files. Can you re-format your message? All that wrapping is making it very difficult to read your message. > The problem is it is not creating >

Re: symbolic links deleted when restarting tomcat

2010-04-09 Thread Karin Moscovici
Thanks Chris. Indeed, my issue is different than the one you've described - The links are deleted from common/lib and server/lib, and their targets are unharmed. I don't know of any other reason that could have possible cause the deletion. Thanks for the answer. On Sat, Apr 10, 2010 at 12:06 AM,

Tomcat 6 fresh install, will not startup,

2010-04-09 Thread Robert Wolf
Did I fresh install and did not modify any of the files.   Running on windows XP with service packs   Using Sun’s java C:\apache-tomcat-6.0.26\bin> java -version java version "1.6.0_19" Java(TM) SE Runtime Environment (build 1.6.0_19-b04) Java HotSpot(TM) Client VM (build 16.2-b04, mixed

Re: symbolic links deleted when restarting tomcat

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karin, On 4/9/2010 4:55 PM, Karin Moscovici wrote: > I'm using tomcat 5.5 on Linux Centos. Today, after restarting tomcat, my > application did not load. In the logs I found NoClassDefError on > org.servlet.jsp.JspFactory class. It seems that the symb

Re: symbolic links deleted when restarting tomcat

2010-04-09 Thread Karin Moscovici
It's not the application unload that did it, the application failed to load because the symbolic links were gone. If anyone knows why should symbolic links to jars should be deleted, please share. On Sat, Apr 10, 2010 at 12:01 AM, Pid * wrote: > You'd have to do something pretty strange with sym

Re: symbolic links deleted when restarting tomcat

2010-04-09 Thread Pid *
You'd have to do something pretty strange with symbolic links for an application unload to cause those to be deleted. But then, re-packaged versions of Tomcat seem to do some strange things with symbolic links... p On 9 April 2010 21:55, Karin Moscovici wrote: > Hi, > > I'm using tomcat 5.5 o

Re: Tomcat startup error

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry, On 4/9/2010 2:01 PM, Harry Metske wrote: > you are using some piece of software (com.mypkg.packaging.*) that is calling > tomcat code. > It expects to find a method in org.apache.tomcat.util.IntrospectionUtils > that is no longer there in 6.0.2

symbolic links deleted when restarting tomcat

2010-04-09 Thread Karin Moscovici
Hi, I'm using tomcat 5.5 on Linux Centos. Today, after restarting tomcat, my application did not load. In the logs I found NoClassDefError on org.servlet.jsp.JspFactory class. It seems that the symbolic link to /usr/shar/java/jsp.jar that was under tomcat/common/lib simply dissappeared. When I add

Re: [OT]Tomcat scalability settings

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, On 4/8/2010 4:46 AM, Markus Schönhaber wrote: > It's pure accident that I read your post, since I tend to ignore > hi-jacked threads. And I may not be the only one doing so. Therefore, > it's in your own very interest to not hide your messages

Re: JSP not updated before app reload

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Søren, On 4/8/2010 1:41 PM, Søren Blidorf wrote: > I am working on a project and suddenly when I make a change in my JSP I have > to reload my app before the code is updated in the browser. > > I can’t think of any changes I have made that should cau

Re: Fragmented delivery of servlet request

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Doug, On 4/9/2010 2:31 PM, Doug Herbert wrote: > some timimgs : > > took 1500 milli seconds for all 19 packets to arrive at that web server, from > the client's browser connected across a 'slow' cellular network. > > took 2 ( two ) milli seconds fo

Re: Fragmented delivery of servlet request

2010-04-09 Thread Doug Herbert
some timimgs : took 1500 milli seconds for all 19 packets to arrive at that web server, from the client's browser connected across a 'slow' cellular network. took 2 ( two ) milli seconds for tomcat to balk at the incoming request and send back the RSP packet, after the first REQ packet sent int

Re: Tomcat startup error

2010-04-09 Thread Harry Metske
you are using some piece of software (com.mypkg.packaging.*) that is calling tomcat code. It expects to find a method in org.apache.tomcat.util.IntrospectionUtils that is no longer there in 6.0.26, which causes the NoSuchMethodError. Basically your embedder does not support this version of Tomcat,

Re: Tomcat startup error

2010-04-09 Thread Amit Agarwal
Hi Harry, Thanks for the tip. Here is the full stack trace. I am not sure what did you mean by compile with embedding package. Could you put some more light on it. WrapperSimpleApp: Encountered an error running main: java.lang.NoSuchMethodError: org.apache.tomcat.util.IntrospectionUtils.setPrope

Non-multicast session clustering with RabbitMQ

2010-04-09 Thread Jon Brisbin
I updated a new virtual cloud blog I started this week with a post describing how I approach the problem of maintaining active tomcat sessions within a "cloud" architecture of tcServer (tomcat 6.0) instances. I tried to lay out, in excruciating detail, my thoughts on distributed membership and

Re: Tomcat startup error

2010-04-09 Thread Harry Metske
Amit, you should post the full stacktrace, but it looks like your embedding package was compiled against an older version of Tomcat than the one you are running. The method signature of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed (return type void => boolean) in revision 467

Re: Tomcat 6.0.26 startup scripts changed from 6.0.18

2010-04-09 Thread Mark H. Wood
Any chance that the stock scripts might someday use 'jsvc', since Tomcat is set up to run that way? Then Tomcat can be easily started as root (and won't have to worry about permission to create PID files) but run as someone else. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Balance

Tomcat startup error

2010-04-09 Thread Amit Agarwal
After upgrading to the latest 6.0.26 ver from 6.0.13, I see the following error while starting embedded Tomcat. Any ideas how to get around this? WrapperSimpleApp: Encountered an error running main: java.lang.NoSuchMethodError: org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Obje

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Pid *
I'm getting the impression that the output is actually a CSV or something similar. p On 9 April 2010 16:04, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rendra, > > On 4/9/2010 6:54 AM, cinl...@gmail.com wrote: > > Yes they use their eyes, but before that, th

Re: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry, On 4/9/2010 12:08 PM, Terry Horner wrote: > That was a javascript error in the onsubmit in the logon form (the > onSubmit called a function to disable the button which both submitted > the form an returned true. d'oh), now fixed. That's what I

Re: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Pid *
Terry, does your login page reference the same script URL as the secured pages, by any chance? p On 9 April 2010 17:39, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Terry, > > On 4/9/2010 12:14 PM, Terry Horner wrote: > > The problem seems to occur if there a

Re: Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

2010-04-09 Thread Eric DuToit
On Thu, Apr 8, 2010 at 8:32 PM, Goo Sam Kong wrote: > > Try to put the subject DN (with OU equal to blank) in -dname field as below. > > keytool -genkey -keystore -storepass -alias > -dname "CN=your cn,OU=,O=your company,C=SG" Your solution worked. Thanks! ---

Re: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry, On 4/9/2010 12:14 PM, Terry Horner wrote: > The problem seems to occur if there are any restricted resources > within a page - it doesn't seems too outlandish for someone to > restrict access to their images folder (say, it has client logos in

RE: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Terry Horner
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, April 09, 2010 8:06 AM > To: Tomcat Users List > Subject: Re: Tomcat 6.0.24 requires me to log on twice > On 08/04/2010 23:34, Christopher Schultz wrote: > >> This happens on Tomcat 6.0.24 and 6.0.26, but not

RE: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Terry Horner
Hi, thanks for the analysis > -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Thursday, April 08, 2010 11:35 PM > To: Tomcat Users List > Subject: Re: Tomcat 6.0.24 requires me to log on twice > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kapilok, On 4/9/2010 9:46 AM, kapilok wrote: > 1. Start Tomcat (with maxThreads="40" ) > 2. Run JMeter Load (40 concurrent with some ramp up) > - All requests succeed Good. > 3. Now load the database with some heavy process, so CPU consumption is hi

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rendra, On 4/9/2010 6:54 AM, cinl...@gmail.com wrote: > Yes they use their eyes, but before that, they print it into one rim > of papers first. But customer is the king. And there are some > conditions where they really need to print 6 months or more

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timir, On 4/9/2010 8:10 AM, Timir Hazarika wrote: > Mark, I'm using netstat as follows. You can see the tomcat process listening > on 8443 and all the incoming requests in TIME_WAIT. These connections do get > cleared after the default timeout of 60 s

Re: Recover from SEVERE: All threads (400) are currently busy, waiting. Increase maxThreads (400) or check the servlet status

2010-04-09 Thread kapilok
Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Kapilok, > > On 4/6/2010 11:19 AM, kapilok wrote: >> Does Tomcat guarantee recovery in case of this Error? > > The JVM/Tomcat should "recover" in the sense that service threads that > complete their work sho

Re: Tomcat scalability setting - need help please

2010-04-09 Thread cinlung
Hei! That is a great idea. All I need now is to socialize the idea. Thanks so much Rendra GOD is GREAT! -Original Message- From: Pid Date: Fri, 09 Apr 2010 13:43:42 To: Tomcat Users List Subject: Re: Tomcat scalability setting - need help please On 09/04/2010 13:08, cinl...@gmail.com w

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Pid
On 09/04/2010 13:08, cinl...@gmail.com wrote: I think I'll stick with web apps for now :) In that case you might consider the following: 1. client requests massive dataset 2. webapp returns a "processing started" message, starts job in new thread 3. data processing completes and a static file

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Timir Hazarika
My point exactly. Is there an alternative setting that I may use ? Timir On Fri, Apr 9, 2010 at 5:47 PM, Leon Rosenberg < rosenberg.l...@googlemail.com> wrote: > I remember a more or less public discussion some time ago, that the > acceptCount setting is virtually worthless, because modern kerne

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Leon Rosenberg
I remember a more or less public discussion some time ago, that the acceptCount setting is virtually worthless, because modern kernels simply ignore it. Leon P.S. By ignore I mean that ServerSocket.accept(100) has no effect. On Fri, Apr 9, 2010 at 2:10 PM, Timir Hazarika wrote: > Mark, I'm usin

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Timir Hazarika
Mark, I'm using netstat as follows. You can see the tomcat process listening on 8443 and all the incoming requests in TIME_WAIT. These connections do get cleared after the default timeout of 60 seconds, my intention is to refuse creating them in the first place. netstat -anp | grep 8443 tcp

Re: Tomcat scalability setting - need help please

2010-04-09 Thread cinlung
I think I'll stick with web apps for now :) I have my own needs and reasons for that. One of them is better maintenance with web apps. Thanks Rendra GOD is GREAT! -Original Message- From: Leon Rosenberg Date: Fri, 9 Apr 2010 13:20:39 To: Tomcat Users List Subject: Re: Tomcat scalabili

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Mark Thomas
On 09/04/2010 10:55, Timir Hazarika wrote: Chuck, this is the same configuration as in my initial question, except for the value of accept count. I've already tried setting it to zero as well : Folks, What is the best way to limit connections in tomcat, if there is one ? I have tried acceptCou

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Leon Rosenberg
On Fri, Apr 9, 2010 at 12:54 PM, wrote: > > And yes I used excel as the result. It is faster, but still can do better. I > wonder if I can increase the process time to less than 30 min to produce > results with millions of data. Currently, with only one person doing the > analysis and no one e

Re: Junit and Tomcat

2010-04-09 Thread Mikolaj Rydzewski
Malcolm Warren wrote: I'm more interested in testing common java classes: e.g. beans being used by .jsp files, but these java classes depend heavily on two things provided by Tomcat in its own virtual machine which Junit can't get at. 1) datasources 2) file paths So what you need is a set of g

Re: Tomcat scalability setting - need help please

2010-04-09 Thread cinlung
Hahaha this remark is really funny. I mean it in a good way: "I'm just curious, how do people in your company deal with millions of rows of data with their own eyes?" Yes they use their eyes, but before that, they print it into one rim of papers first. But customer is the king. And there are so

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Xie Xiaodong
Hello, Maybe you could just export those data into Excel files (any other format will do), and provide a download link to those file. Those files could be generated lazily, means generate the first time it is requested. I'm just curious, how do people in your company deal with millions of rows

RE: Tomcat scalability setting - need help please

2010-04-09 Thread Cin Lung
Hi George, Trust me the people in my client's company would see that much of data. It is needed by the production. The next best way I can do is to send the resultset object directly to the JSP, but I would not go to that extent just yet. I am going to either build a new cache mechanism or use ehc

Re: Tomcat does not honor acceptCount configuration variable

2010-04-09 Thread Timir Hazarika
Chuck, this is the same configuration as in my initial question, except for the value of accept count. I've already tried setting it to zero as well : Folks, What is the best way to limit connections in tomcat, if there is one ? I > have tried acceptCount, maxThreads, even specifying explicit exe

Re: URLs with '../' and 404s

2010-04-09 Thread Mark Thomas
On 08/04/2010 23:23, Nikita Tovstoles wrote: So, if the current URI is "http://localhost/app/page"; and sendRedirect method arg is "../../app/page.0" what does that violate? That relative URL is not valid. To construct the absolute URL, you strip of the file name from the path and append the r

Re: Tomcat scalability setting - need help please

2010-04-09 Thread Bob Hall
Rendra, --- On Thu, 4/8/10 at 5:28 PM, cinl...@gmail.com wrote: > > Do you have better way as how to transport this result to > jsp? Please enlighten me. > If you *really* need to serve _millions_ of rows of data to a user you will need to implement some form of "paging" - the query results

Re: Tomcat 6.0.24 requires me to log on twice

2010-04-09 Thread Mark Thomas
On 08/04/2010 23:34, Christopher Schultz wrote: This happens on Tomcat 6.0.24 and 6.0.26, but not 6.0.20, which makes me think it is related to change 45255 (Provide protection against session fixation by changing session ID automatically on authentication.), in the dev environment tomcat is runn