[OT] multipart/form-data solutions

2009-08-21 Thread Tommy Pham
Hi, I need some to process some multipart/form-data. Are the any other solutions other than: Solution A: 1. download http://www.servlets.com/cos/index.html 2. invoke getParameters() on com.oreilly.servlet.MultipartRequest Solution B: 1. download http://jakarta.apache.org/commons/sandbox/fi

Re: confused about beans

2009-08-21 Thread Pid
On 21/08/2009 23:50, Tena Sakai wrote: Hi folks, I am confused about beans. And apparently about how a servlet based web application ought to be built. You should start by reading the Servlet Specification and gaining an understanding of what you're trying to build. I think it has to do

Re: Running multiple tomcats

2009-08-21 Thread Ron McNulty
It's not uncommon for firewalls to only allow access to particular ports on a machine. Try logging into the Solaris box and telnet localhost 8008 If that connects, then something (hopefully Tomcat) is running on port 8008. Repeat from your desktop. If that fails, the firewall is the problem.

confused about beans

2009-08-21 Thread Tena Sakai
Hi folks, I am confused about beans. I think it has to do with the CLASSPATH and my lack of understanding for sure. My platform is a linux machine with tomcat 6.0.14. Here's the lay of the land. Under $CATALINA_HOME/webapps/ I have created a directory called my-jsp, in which there are three fi

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
It threw IllegalStateException for some code of tomcat. Also the error message said that the web application is already stopped, meaning it could not deploy the web application. I do not have that exception log with me presently as I am trying out some thing different with it. But I will post the s

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pradnya, On 8/21/2009 2:57 PM, Pradnya Gawade wrote: > I have no clue what is causing this problem. You mentioned that disabling the CLEAR_REFERENCES caused more problems. What were those problems? - -chris -BEGIN PGP SIGNATURE- Version: Gnu

Re: Flag to avoid starting a webapp defined in server.xml???

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 8/21/2009 2:30 PM, Christopher Schultz wrote: > In addition to Chuck's comments s/Chuck/Mark/ - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAY

RE: tomcat 6.0.20 - default servlet

2009-08-21 Thread Leo Donahue - PLANDEVX
Ugh. Sorry about that, wrong url. Should be: http://tomcat.apache.org/tomcat-6.0-doc/default-servlet.html -Original Message- From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] Sent: Friday, August 21, 2009 11:53 AM To: users@tomcat.apache.org Subject: tomcat 6.0.20 -

Re: IIS isapi_redirect.dll chunked encoding option

2009-08-21 Thread Andy Wang
Sorry, forgot to mention that. We're at the latest and greatest tomcat-connector version: 1.2.28. Thanks, Andy Peter Crowther wrote: 2009/8/21 Andy Wang : What are the general thoughts on the stability of the enable_chunked_encoding option for the IIS isapi redirector for tomcat and IIS?

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi Christopher, Thanks for the reply. I am using Tomcat6 and Velocity 1.6 As I mentioned I know this problem is due to the mapping I added to Spring context xml for Velocity engine bean,  SimpleMailMessage, JavaMailSender because if I take it out from the xml, web application gets initialized in t

Re: IIS isapi_redirect.dll chunked encoding option

2009-08-21 Thread Peter Crowther
2009/8/21 Andy Wang : > What are the general thoughts on the stability of the > enable_chunked_encoding option for the IIS isapi redirector for tomcat and > IIS? I suspect it depends on the version ;-). What are you using? - Peter

tomcat 6.0.20 - default servlet

2009-08-21 Thread Leo Donahue - PLANDEVX
I'm making an argument in another forum regarding the directory listings being disabled by default in Tomcat 6.0.20 zip I downloaded the tomcat 6.0.20 zip and checked web.xml and listings are set to false. The online docs indicate otherwise. http://tomcat.apache.org/tomcat-6.0-doc/default-serv

IIS isapi_redirect.dll chunked encoding option

2009-08-21 Thread Andy Wang
What are the general thoughts on the stability of the enable_chunked_encoding option for the IIS isapi redirector for tomcat and IIS? We're running into a scenario where something is causing IIS to not send down the complete response. Haven't figured out exactly the cause yet, but the sympto

Re: R: tomcat service public key

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gagan, On 8/18/2009 3:29 PM, Gagan Malik wrote: > Thanks.. although just creation of the .ssh directory didn't help much, I > copied the contents of the .shh of the current user to > /usr/share/tomcat5/.ssh and it worked. > > Although its not the ide

Updating Roles for a logged-in user while using SingleSignOn

2009-08-21 Thread nkrasnov
Hi, I have several Tomcat webapps which use SSO and the same Realm for authentication. All is working as expected, except that I now need to update roles for the user that's already been authenticated in the past. I seem to be able to do it successfully for a given request (by calling LoginContec

Re: Flag to avoid starting a webapp defined in server.xml???

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Javier, On 8/18/2009 6:21 AM, javier.rivas wrote: > I want to reduce the startup time for these applications that only use a > couple of webapps, so I was wondering if there is any way to set a flag to > tell tomcat not to start a web applications tha

Mass-translation of property bundles

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I only speak 3 languages, and I speak them all poorly. Also, I don't always have a professional translator available to properly translate not just the words but also the connotation of all the various strings in a particular application. I also

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
Thanks for the advice. The LOG stmt is just a method that filters all our logging then calls into log4j. There is nothing complex about it, it just filters out some of our logging based on system settings. I will look into some of your suggestions, thanks for the tips. Christopher Schultz-2

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
Ok, alot of good suggestions, thanks! I will see if I can get customer feedback and analyze some of the things you mentioned. Peter Crowther wrote: > > 2009/8/21 neilgoldsmith > >> My first question, what is the best tool to monitor this so we can get an >> accurate description of when the p

Re: Keep having to login with container based authentaction.

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, On 8/20/2009 8:14 AM, Dean Chester wrote: > Ok ive discovered that they are not staying the same between clicks. I'm now > going to look at encoding urls now. You should always encode your URLs. To test that your webapp is working in general,

Re: Tomcat 4 start up as (/sbin/service)

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sunil, On 8/20/2009 5:15 AM, sunil chandran wrote: > As per everyone suggestion, I went ahead and installed > tomcat 4.1.40It is successful Now i want to set as /sbin/service. How was the old version of Tomcat 4.1.x being started? Or, is this somethi

Re: Problem closing datasource when used as JNDI resource

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hop, On 8/20/2009 11:17 AM, Pham, Hop wrote: > I'm new to this users list. I think that JNDI resource management > (i.e., datasource) is JEE app server domain, and remains available > while Tomcat up by design so that it can be shared across multiple

Re: Problem closing datasource when used as JNDI resource

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/20/2009 9:44 AM, Mohammed Bin Mahmood wrote: > But I still do not get my answer yet. Yes, you do: 1. This is a problem with Tomcat. Patches are welcome. 2. No, there is no Tomcat configuration to fix this. You will have to work ar

Re: ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pradnya, On 8/21/2009 9:23 AM, Pradnya Gawade wrote: > MailManagerImpl is a class I have written sendEmail code to. > When I deploy the war file of for web application to Tomcat 6 and try to > start the tomcat from command prompt, I get ConcurrentMod

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
No worries, thanks for the response. George Sexton wrote: > > You know, it looks like I owe you an apology. > > I answered your question without reading the whole thing. I know how > aggravated that makes me feel. > > I'm sorry. > > George Sexton > MH Software, Inc. > http://www.mhsoftwa

Re: ]OT] Running multiple tomcats

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/21/2009 11:39 AM, André Warnier wrote: > Malladi, Sasikanth wrote: >> I'm surprised to see a solicitation in this list. > > So are we. Not so much surprised to see a solicitation on the list, but seeing one so quickly. I've offered my s

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, On 8/21/2009 11:10 AM, neilgoldsmith wrote: > periodically they will experience a big slowdown on the app server > which does eventually recover (slows down for maybe an hour). We had > them increase their maxThreads from 150 to 300 and increase

RE: Running multiple tomcats

2009-08-21 Thread Gwen Way
>Second one this week. Recession.com? p According to the BOFH excuse server (http://pages.cs.wisc.edu/~ballard/bofh/bofhserver.pl), "The rubber band broke". As good a reason as any other for solicitation. Gwen - To unsubscr

Re: Running multiple tomcats

2009-08-21 Thread Pid
On 21/08/2009 16:39, André Warnier wrote: Malladi, Sasikanth wrote: I'm surprised to see a solicitation in this list. So are we. But just ignore Martin, he's sometimes helpful but mostly a nuisance. Second one this week. Recession.com? p --

RE: Connection Pool Exhausted

2009-08-21 Thread Martin Gainty
what were the correct settings ? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede un

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
You know, it looks like I owe you an apology. I answered your question without reading the whole thing. I know how aggravated that makes me feel. I'm sorry. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: neilgoldsmith [mail

ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi, I am using the Velocity Engine for the first time and need some help on the following issue. Thanks in advance. I have a web application which uses Spring framework. To send the template based emails through application, I have added following to my Spring context xml file: http://mail.akaz

Re: Connection Pool Exhausted

2009-08-21 Thread Kristen Walker
I just wanted to report back on the connection pool exhausted issue. I got some help from the JASIG uPortal list and it turns out that some of my settings in the uPortal config files were screwing with the way database connection pooling was working. Now that those settings have been tweaked, it

RE: Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
Aargh!! Everything is ok and the installation is running fine. It was a typo in the hostname that gave me a two hour run around. Sorry for wasting your time and I deeply appreciate your help. Special thanks to llg and André. And David, for trying to show me that it could be an OS issue.

RE: Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
Interesting. It's actually the other way. telnet to 8008 seemed successful. $ telnet myhost 8008 Trying 169.193.129.130... Connected to myhost. Escape character is '^]'. ls HTTP/1.1 400 Bad Request Server: Apache-Coyote/1.1 Transfer

Re: Tracking down a Tomcat slowdown

2009-08-21 Thread Peter Crowther
2009/8/21 neilgoldsmith > My first question, what is the best tool to monitor this so we can get an > accurate description of when the problems occur and what might be at fault? > They just started running perfmon (on a Windows system), but as of yet I > have not seen any data from it. Is there

Re: Running multiple tomcats

2009-08-21 Thread André Warnier
Malladi, Sasikanth wrote: I'm surprised to see a solicitation in this list. So are we. But just ignore Martin, he's sometimes helpful but mostly a nuisance. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For ad

Re: Running multiple tomcats

2009-08-21 Thread André Warnier
Malladi, Sasikanth wrote: No, no forwarding problems, as I can access the original instance at http://myhost:8080 It's just that my instance at http://myhost:8008 is not responding. It's not the localhost, but a remote Solaris box. What is the exact error message you are getting in the browser,

Re: Running multiple tomcats

2009-08-21 Thread David Fisher
Solaris 10 can turn off ports at the OS level. Your sysadmin may have those ports turned off. You may need to talk to the sysadmin of the box. Regards, Dave On Aug 21, 2009, at 8:18 AM, Malladi, Sasikanth wrote: No, no forwarding problems, as I can access the original instance at http://myh

RE: Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
I'm surprised to see a solicitation in this list. I'm unable to offer $$ for this request. If anyone has the knowledge and the inclination to help, they'll respond. (As llg did earlier). If not, I'll dig around and see what I can do. On a personal note, I have a high regard for open source proje

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
Good luck. It could be something stupid like backup is running during the day, or some other periodic process. There's no sense troubleshooting a tomcat slowdown until you know it's tomcat that's using the CPU. If you're running Windows, you need to run perfmon on the the process and chart process

RE: Running multiple tomcats

2009-08-21 Thread Martin Gainty
at least 100 individuals on this list who could accomplish this task for you if you could post a Statement Of work we could all respond within 24 hrs http://www.usability.gov/methods/plan/sow.html let us know where you have posted the SOW when it is posted. Martin Gainty ___

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
I don't have direct access to their system, but they assure me this server is only used for this purpose and nothing else is running on their servers. They have 2 servers (exact same config) running Tomcat and load balance 1:1 between the 2. When I looked at the log for the 2nd server, it had no

RE: Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
No, no forwarding problems, as I can access the original instance at http://myhost:8080 It's just that my instance at http://myhost:8008 is not responding. It's not the localhost, but a remote Solaris box. Regards, Sashi -Original Message---

Re: Running multiple tomcats

2009-08-21 Thread llg
Le 21/08/09 17:06, Malladi, Sasikanth a écrit : Thank you for the reply. I've used netstat to ensure none of my ports are being currently used. I updated the AJP connector to 8090 (from the original 8009). As I said before, the startup seems smooth, with no errors/exceptions being reported. H

RE: Tracking down a Tomcat slowdown

2009-08-21 Thread George Sexton
So, I take it you've monitored the machine and made sure there are no other processes using up CPU/IO Bandwidth? George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: neilgoldsmith [mailto:ne...@avaya.com] > Sent: Friday, August 21,

Tracking down a Tomcat slowdown

2009-08-21 Thread neilgoldsmith
We have a servlet that handles incoming voice calls at customer locations, so you can have bursts of busy time (much like web traffic). A customer of ours has been running this servlet (24/7) for a few months and can go weeks at a time with no problems, but periodically they will experience a big

RE: Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
Thank you for the reply. I've used netstat to ensure none of my ports are being currently used. I updated the AJP connector to 8090 (from the original 8009). As I said before, the startup seems smooth, with no errors/exceptions being reported. However, I can't access my instance via the web (the

Re: Running multiple tomcats

2009-08-21 Thread llg
Hi, perhaps you forgot the AJP Connector (8009). You can see all listened ports with command : netstat -laputen | grep java Laurent Le 21/08/09 16:31, Malladi, Sasikanth a écrit : Hi all, I'm a relative newbie to this particular request. I'm working on a Solaris 10 box which has an old (2

Running multiple tomcats

2009-08-21 Thread Malladi, Sasikanth
Hi all, I'm a relative newbie to this particular request. I'm working on a Solaris 10 box which has an old (2003!) version of Tomcat running on the default 8080 port. I've downloaded the latest Tomcat to my home directory and changed the server.xml to port 8008 instead of 8080. I've also change

ConcurrentModificationException when starting Tomcat with Velocity Engine configured

2009-08-21 Thread Pradnya Gawade
Hi, I am using the Velocity Engine for the first time and need some help asap on the following issue. Thanks in advance. I have a web application which uses Spring framework. To send the template based emails through application, I have added following to my Spring context xml file: http://mail

Re: pump up memory usage

2009-08-21 Thread Ronald Klop
Very well, I just tried to inspire someone on how to 'pump up memory usage'. It wasn't about the details. In fact: one line of code doesn't compile without a class and method declaration. So you could have mailed me a java-for-beginners manual. :-) Cheers, Ronald. Op woensdag, 19 augustus