Re: How to increase Tomcat webserver speed?

2007-10-04 Thread David Delbecq
Since you say CPU usage on your machine is around 5% during those tests, and your database is on same machine as tomcat server, i doubt the bottleneck really is on database. The first ting i'll suggeste is to take all queries run by your application, make an sql script of them, and run this sc

Re: Problem with compiling tomcat native

2007-10-04 Thread Jim Roycroft
Nevermind, I found a compiled version of libtcnative for linux in the same place we get the windows dll's! Even more convenient, it has been compiled for the current Debian Etch (4.0) versions of APR (1.2.7) and OPENSSL (0.9.8) It looks like the binaries for linux are only available for the 1.1.2

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-04 Thread Jorge Martinez
Hi, problem solved! Thanks to all of you that gave me indications about this issue. As I learnt from you my problem was not likely to be a Tomcat configuration problem, but rather something else on my network configuration. I had NAT enabled for http requests as well as for the on-chip firewall p

Re: Tomcat supported platforms?

2007-10-04 Thread foo shyn
http://tomcat.apache.org/faq/ Hitesh Raghav wrote: Hi, Which platforms are supported by Tomcat? Could you please direct me right URL. Thanks, -Hitesh - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Tomcat supported platforms?

2007-10-04 Thread Hitesh Raghav
Hi, Which platforms are supported by Tomcat? Could you please direct me right URL. Thanks, -Hitesh - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Problem with compiling tomcat native

2007-10-04 Thread Jim Roycroft
Did you have any luck getting this to work? I am having much the same problem. I found that even to get to that point, I had to do some unusual things like downloading the apr source, because the Debian libapr1-dev package was missing two files, 'config.guess' and 'config.sub'. Same debian versi

Re: How to increase Tomcat webserver speed?

2007-10-04 Thread keglius
Hi, Chris! Thanks for your response! I can't say that the reporting function is a primary function of the server, however the web application includes a lot of statistical reports about views/visitors/sales, etc for long time periods (up to 1 year). As I told, the server has 2GBs of RAM. 1.6GB i

Re: Default page for some path

2007-10-04 Thread alee amin
I don't want to put it on welcome page, since there is complete web browse able. There are other pages as well and welcome page is configured for the users. This path has not been given to users it is only MEMORIZED to admin. What i want that when admin give this path it opens some default page. D

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Bill Barker
It also currently need the full cipher string, not just the prefix. Although, allowing just the prefix might be a nice enhancement. "Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jignesh Shah wrote: >> I put property Ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5". > > It sho

Re-map Axis 2 URL in Tomcat 5.0 - Possible?

2007-10-04 Thread foo shyn
Hi All, Sent this out yesterday but no feed back yet. Perhaps the timing not right, so send again. Sorry for the duplication. I have tried to install and run Axis2 on Tomcat 5.0 and it was working fine. However, i notice that for me to engage my service in tomcat the URL would be something l

RE: Setup a Proxy in Tomcat

2007-10-04 Thread Caldarale, Charles R
> From: bajistaman [mailto:[EMAIL PROTECTED] > Subject: Setup a Proxy in Tomcat > > Is there a way to map a local context to a remote one with tomcat? Write a filter that does a redirect. I believe that http://tuckey.org/urlrewrite/ has this capability, but I haven't tried it myself. - Chuck

Setup a Proxy in Tomcat

2007-10-04 Thread bajistaman
Is there a way to map a local context to a remote one with tomcat? I mean: http://localhost:8080/somename-->http://remotehost/someothername I know that this can be done with Apache Http Server but I'm trying to avoid the need to install one. (BTW I'm using Tomcat 5.5.20) Thanks, Johann -- V

manager servlet and SSL

2007-10-04 Thread Edward Dowgiallo
Hi, As the manager servlet is currently written, is it possible to configure it to use CLIENT-CERT authentication instead of BASIC authentication? I've got CLIENT-CERT working with the locally developed apps, but am having no luck configuring the manager or admin servlets. The locally developed

Re: tomcat update service failing

2007-10-04 Thread John Eric Hamacher
I'm moving from 1.5.0_11 to 1.6.0_01, Tomcat version is 5.5.23. Thanks for all your suggestions. On 10/4/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > > From: John Eric Hamacher [mailto:[EMAIL PROTECTED] > > Subject: Re: tomcat update service failing > > > > [2007-10-04 09:19:40] [947

Re: Tomcat connections not closing.

2007-10-04 Thread Filip Hanik - Dev Lists
try setting connectionTimeout="5000" disableUploadTimeout="false" I believe the 2nd parameter, should not set the timeout to infinite while you are inside of a request Filip Roark, Mike wrote: Hello Tomcat users, We are having difficulty with connections to Tomcat remaining open after the

Re: I need help as soon as possible..

2007-10-04 Thread Jaime Almeida
Ok. I'll follow your instructions and I'll see what I can get with it. Thank you very much. Best regards, Jaime Almeida. Caldarale, Charles R writes: From: Jaime Almeida [mailto:[EMAIL PROTECTED] Subject: Re: I need help as soon as possible.. I'm sorry, I didn't mean to upset you. You di

Tomcat connections not closing.

2007-10-04 Thread Roark, Mike
Hello Tomcat users, We are having difficulty with connections to Tomcat remaining open after the client hits "stop" in their browser. This only seems to happen when we have a particular combination of load balancer hardware in front of the tomcats. We are also running apache and have not seen the

RE: I need help as soon as possible..

2007-10-04 Thread Caldarale, Charles R
> From: Jaime Almeida [mailto:[EMAIL PROTECTED] > Subject: Re: I need help as soon as possible.. > > I'm sorry, I didn't mean to upset you. You didn't upset me (I'm too old for that), but it's a typical newbie mistake that will cause fewer people to be interested in your message. > The error ap

Re: Get List of Loaded Beans

2007-10-04 Thread Martin Gainty
The MBeanServer will accomplish this task for you http://java.sun.com/j2se/1.5.0/docs/guide/management/overview.html M-- - Original Message - From: "Tom Holmes Jr." <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 2:27 PM Subject: Get List of Loaded Beans > I'm asking a questio

Re: I need help as soon as possible..

2007-10-04 Thread Mark Deneen
I doubt this is it, but I would avoid installing tomcat into a directory containing spaces. It may be looking for the jar file in "c:\Program" Mark On 10/4/07, Jaime Almeida <[EMAIL PROTECTED]> wrote: > I'm sorry, I didn't mean to upset you. > But I'm really in trouble with the tomcat server. >

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Mark Deneen
I think that gmail is balking over the fact that "venus" does not resolve to 71.248.123.180, and the reverse record of 71.248.123.180 resolves to static-71-248-123-180.bltmmd.east.verizon.net instead of "venus". Here's what you want in DNS: A "MX" (Mail) record to be set to something like "mail.my

Re: I need help as soon as possible..

2007-10-04 Thread Jaime Almeida
I'm sorry, I didn't mean to upset you. But I'm really in trouble with the tomcat server. The error appears in a message box launched by the server in the Eclipse. I've installed Tomcat directly from the ApacheFoundation.org, pushing the 'run' button on the download dialog box. I guess I didn't no

RE: I need help as soon as possible..

2007-10-04 Thread Caldarale, Charles R
> From: Jaime Almeida [mailto:[EMAIL PROTECTED] > Subject: I need help as soon as possible.. To quote from "How To Ask Questions The Smart Way", as linked to from the Tomcat mailing lists page: http://tomcat.apache.org/lists.html "Use meaningful, specific subject headers "On mailing lists, news

I need help as soon as possible..

2007-10-04 Thread Jaime Almeida
Hello. I'm Jaime Almeida, a portuguese student and I've a big problem with the tomcat6.0 server - it doesn't start. I've already reinstalled it and nothing, always the same error: 'The archive: C:/Program Files/Tomcat 6.0/bin/bootstrap.jar which is referenced by the classpath, does not exist.'

Re: ServletContext.getContextPath()

2007-10-04 Thread Terence M. Bandoian
Hi- My mistake. I deleted the message before I replied and missed that this needed to take place during startup. -Terence M. Bandoian [EMAIL PROTECTED] > > Subject: > Re: ServletContext.getContextPath() > From: > Christopher Schultz <[EMAIL PROTECTED]> > Date: > Thu, 04 Oct 2007 11:43:34 -0400

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Delivered-To: [EMAIL PROTECTED] Received: by 10.70.74.8 with SMTP id w8cs511135wxa; Thu, 4 Oct 2007 10:07:22 -0700 (PDT) Received: by 10.70.14.17 with SMTP id 17mr3648293wxn.1191517641836; Thu, 04 Oct 2007 10:07:21 -0700 (PDT) Return-Path: <[EMAIL PROTECTED] > Received: from venus (

RE: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Biagi, Bill (Contractor)
I would turn on SSL in Tomcat for the traffic between the load balancers and the Tomcat servers but it kind of defeats the purpose of using the dedicated crypto engines in the load balancers. BB This e-mail and its attachments are confidential and solely for the intended addressee(s). Do not sh

Get List of Loaded Beans

2007-10-04 Thread Tom Holmes Jr.
I'm asking a question for a co-worker who is new to Tomcat and Java development. we've got a tomcat 5.x server running, he wants to be able to list what beans are loaded into tomcat. I imagine some JSP code would do the trick. He's not using any tags right now, or Struts1, Struts2. I think

RE: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Biagi, Bill (Contractor)
The thing is it is actually secure. The Tomcat servers are behind the load balancers and using the dedicated hardware engines to perform the SSL. Granted Tomcat does not know this. This exact configuration is why it would make sense to be able to set the jsessionid to secure. Why else would Tom

Can't read hebrew from file uploaded by commons.fileupload

2007-10-04 Thread Amnon Lahav
Hi i've asked for help a week ago and the anwers i get i didn't help me i would realy appreciate some help here i'm reading a csv file that i upload by commons.fileupload , when i just open the file on the HD and use a function to read it everything is ok but when i try to upload it the charEnc

Re: tomcat problem

2007-10-04 Thread David Smith
The first exception below implies you didn't put the servlet in a package. Packageless classes have been strongly discouraged since tomcat 3 (/ancient/ history). You might want to fix that first and be sure to drop any future attempt at setting CLASSPATH. --David Omar Chebaro wrote: > > > > Dea

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
My from address for mail is say [EMAIL PROTECTED] But the webapp is now running on another server with a different domain , say anotherdomain , but my from address still has [EMAIL PROTECTED] Is this the reason. On 10/4/07, tomcat <[EMAIL PROTECTED]> wrote: > > At 01:30 PM 10/4/2007, you wrote: >

Re: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Tim Funk
Not really. The reason is its rather nonsensical for any webserver to set a cookie as secure when the request is not secure. -Tim Biagi, Bill (Contractor) wrote: I've got a set of Cisco load balancers doing the SSL so Tomcat does not know that these sessions are SSL. My guess is that is why

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > It contains a link for user verification and a welcome message. Did the > mail.log I mentioned points any hands to any problems? No, but the message itself including full headers (as seen by the recipient) should tell the story.

RE: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Caldarale, Charles R
> From: Biagi, Bill (Contractor) [mailto:[EMAIL PROTECTED] > Subject: RE: setting secure cookie in Tomcat 5.0 config > > I've got a set of Cisco load balancers doing the SSL so > Tomcat does not know that these sessions are SSL. > > Is there any way to force Tomcat to set the jsessionid > cookie

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
It contains a link for user verification and a welcome message. Did the mail.log I mentioned points any hands to any problems? On 10/4/07, David kerber <[EMAIL PROTECTED]> wrote: > > You're going to have to figure out what is triggering the spam blocker > on this message. Is the test message body

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Johnny Kewl
- Original Message - From: "Arun" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, October 04, 2007 7:33 PM Subject: Re: Sending Mail from a Java WebApplication does not work Thanks johnny. I am grateful for the helping hand. Are you using real FROM mail addresses. I ha

Re: Race condition with values displayed across redirects

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lb, lightbulb432 wrote: > So would the following be a good way of approaching this using filter > mappings (where the filter is as described in the OP)? > - No filter on all servlets that can, upon success or failure, redirect to > another page > - Fi

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Nope. It contains a link for user verification and a welcome message. On 10/4/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Aron, > > Arun wrote: > > Gabe, > > That is great. > > yes, It is sending mails to junk folder. > > Thanks a lot

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aron, Arun wrote: > Gabe, > That is great. > yes, It is sending mails to junk folder. > Thanks a lot lol. > How can I avoid it ? why does gmail treats this mail as spam? What about the contents of the message? Do they look sketchy? - -chris -BEG

RE: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Biagi, Bill (Contractor)
I've got a set of Cisco load balancers doing the SSL so Tomcat does not know that these sessions are SSL. My guess is that is why it is not being set. Is there any way to force Tomcat to set the jsessionid cookie to secure? BB This e-mail and its attachments are confidential and solely for th

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread David kerber
You're going to have to figure out what is triggering the spam blocker on this message. Is the test message body the same as the real data? If not, have you tried sending real (or at least real-looking) body content. D Arun wrote: Gabe, That is great. yes, It is sending mails to junk folde

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > Oct 4 20:51:07 venus sm-mta[17487]: l950p6C3017485: to=< > [EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, > pri=120522, relay=gmail-smtp-in.l.google.com. [66.249.83.114], dsn=2.0.0, > stat=Sent (OK 1191517641 h

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread tomcat
At 01:30 PM 10/4/2007, you wrote: Gabe, That is great. yes, It is sending mails to junk folder. Thanks a lot lol. How can I avoid it ? why does gmail treats this mail as spam? We were palnning to move our application to a new server. I had written a build script using perl. Every thing went fin

Re: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Tim Funk
You'll need to install fiddler to sniff when the cookie is being set. If the request is SSL and during that request, the JSESSIONID cookie is created - it will be SSL. So either the cookie is being set some other time, or IE is lying that the cookie is secure. (Or something else) -Tim Biagi,

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Joshua Fielek
We just went through this -- make sure you're not sending the mail from an IP address. gmail red flags anything sent from an ip address. J Arun wrote: Gabe, That is great. yes, It is sending mails to junk folder. Thanks a lot lol. How can I avoid it ? why does gmail treats this mail as spam?

Disable HTTP TRACE and DELETE methods

2007-10-04 Thread mohamed rafi
Hi, I want to disable the HTTP TRACE and DELETE methods to be invoked on my webserver. I checked on the Net, and found that mod_rewrite should be enabled for this. So, I did the following in httpd.conf, and recycled the Apache Server: LoadModule rewrite_module /usr/libexec/httpd/mod_rewr

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Ken Bowen
Sun's JavaMail (mail.jar -- you need activation.jar too) does a good job of simple mail sending (and it has lots of nice debugging for figuring out just how far things got). My app uses an AppListener which starts a single app-wide thread which manages a mail queue. Any request/action which ne

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Thanks johnny. I am grateful for the helping hand. On 10/4/07, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > > - Original Message - > From: "Arun" <[EMAIL PROTECTED]> > To: > Sent: Thursday, October 04, 2007 5:07 PM > Subject: Sending Mail from a Java WebApplication does not work > > > > Hi,

RE: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Biagi, Bill (Contractor)
The session is SSL and according to IE the jsessionid cookie is not secure. BB This e-mail and its attachments are confidential and solely for the intended addressee(s). Do not share or use them without Fannie Mae's approval. If received in error, contact the sender and delete them. -Or

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Gabe, That is great. yes, It is sending mails to junk folder. Thanks a lot lol. How can I avoid it ? why does gmail treats this mail as spam? We were palnning to move our application to a new server. I had written a build script using perl. Every thing went fine and build was successfull. We were

Re: Race condition with values displayed across redirects

2007-10-04 Thread lightbulb432
I know people like to avoid those, but get real: refreshing a failed > POST ought to re-POST the data (that will fail again). You should really > only redirect on success. Agreed, it's a much bigger consideration on success than failure. But once you figure out a good way of approaching the issu

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Gabe Wong
Arun, Have you checked your gmail junk folder? Arun wrote: Chris, My mail.log looks like this.(tail mail.log). This is the log created just now as i send from my webapp. Oct 4 20:51:07 venus sm-mta[17487]: l950p6C3017485: to=< [EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp,

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Jignesh Shah
I am using 5.5.20 and I am not using APR. thanks, Jignesh --- Mark Thomas <[EMAIL PROTECTED]> wrote: > Jignesh Shah wrote: > > I tried ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5", > lower > > case "C" restarted the server again it shows I am > > using weak ciphers which are not present in the > above

RE: tomcat update service failing

2007-10-04 Thread Caldarale, Charles R
> From: John Eric Hamacher [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat update service failing > > [2007-10-04 09:19:40] [947 prunsrv.c] [error] Failed creating java > C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll Spaces in directory and file names have been problematical; you migh

Re: setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Tim Funk
If you are talking about the JSESSIONID cookie - if the session is created while your are using SSL - the secure flag is set for you. Nothing to configure. -Tim Biagi, Bill (Contractor) wrote: How do you set Tomcat 5.0 to use secure cookies on an SSL session. Back in 3.3 it was an attribute

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Chris, My mail.log looks like this.(tail mail.log). This is the log created just now as i send from my webapp. Oct 4 20:51:07 venus sm-mta[17487]: l950p6C3017485: to=< [EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120522, relay=gmail-smtp-in.l.google.com. [66.249.83.114]

RE: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Caldarale, Charles R
> From: Jignesh Shah [mailto:[EMAIL PROTECTED] > Subject: Disable ciphers in tomcat 5.5 not working > > now I want to remove support for weak ones. So in > server.xml I go and for connector port 8443 for my SSL > I put property Ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5". Are you using APR by any cha

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Johnny Kewl
- Original Message - From: "Arun" <[EMAIL PROTECTED]> To: Sent: Thursday, October 04, 2007 5:07 PM Subject: Sending Mail from a Java WebApplication does not work Hi, I have configured sendmail at port 25 in ubuntu. It is working correctly as I checked sending mails using a perl sc

Re: How to increase Tomcat webserver speed?

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Keglius, keglius wrote: > I have a server running Apache Tomcat 5.5 with my Java application. This > Java application uses MySQL 4.1.x and is very server resource intensive. The > application makes a lot of calls to database to gather various informat

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Mark Thomas
Jignesh Shah wrote: > I tried ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5", lower > case "C" restarted the server again it shows I am > using weak ciphers which are not present in the above > property. Any clue ? Exactly which 5.5.x version? There were some bugs in this area but I can't remember the det

Re: Race condition with values displayed across redirects

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lb, lightbulb432 wrote: > Redirects are used so that users don't encounter the resubmit warning by the > browser when they refresh the page, and so that page refreshes don't result > in the POST being resent to the server. I know people like to avoid

How to increase Tomcat webserver speed?

2007-10-04 Thread keglius
Hello! I have a server running Apache Tomcat 5.5 with my Java application. This Java application uses MySQL 4.1.x and is very server resource intensive. The application makes a lot of calls to database to gather various information which is used for reports. My server is AMD 3200+ with 2GBs of RA

Re: Race condition with values displayed across redirects

2007-10-04 Thread lightbulb432
Redirects are used so that users don't encounter the resubmit warning by the browser when they refresh the page, and so that page refreshes don't result in the POST being resent to the server. While it's a smaller consideration when messages for invalid values are displayed, it's a bigger consider

Re: ServletContext.getContextPath()

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brendan, Brendan MacLean wrote: > That's the conclusion I'd come to, but was hoping some Tomcat guru could > tell me different. Unfortunately, request.getContextPath() is not available > "before the first request" though this is indeed how we are ini

Re: ROOT directory in webapps

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: ROOT directory in webapps >> >> I believe someone has mentioned more than once that throwing >> an index.jsp file into the appbase would be tre

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Jignesh Shah
I tried ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5", lower case "C" restarted the server again it shows I am using weak ciphers which are not present in the above property. Any clue ? thanks, Jignesh --- Mark Thomas <[EMAIL PROTECTED]> wrote: > Jignesh Shah wrote: > > I put property > Ciphers="DES

Re: ServletContext.getContextPath()

2007-10-04 Thread Brendan MacLean
That's the conclusion I'd come to, but was hoping some Tomcat guru could tell me different. Unfortunately, request.getContextPath() is not available "before the first request" though this is indeed how we are initializing our knowledge of this setting at the moment. Sounds like we'll have to wait

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Mark Thomas
Jignesh Shah wrote: > I put property Ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5". It should be ciphers="DES-CBC3-SHA,RC4-SHA,RC4-MD5" Case is important. mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Caldarale, Charles R
> From: King, Sean [mailto:[EMAIL PROTECTED] > Subject: RE: Webapp load order tomcat 4 vs tomcat 5 > > Unfortunately that would break the SDK. I am going to look into the > route of having one webapp watch for the other one to come on line. What about not implementing another webapp, but just e

RE: ROOT directory in webapps

2007-10-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: ROOT directory in webapps > > I believe someone has mentioned more than once that throwing > an index.jsp file into the appbase would be treated as if it > were in the ROOT context (if neither ROOT.war nor ROOT/ exist). As I r

RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] > Would you happen to know of any good references that walks through how > to trouble shoot Apache related performance issues? I don't, so I'm going to throw that open to the list here :-). A few obvious pointers from me: - Performance Monitor: %C

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread King, Sean
Chris, Unfortunately that would break the SDK. I am going to look into the route of having one webapp watch for the other one to come on line. Sean -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 12:18 PM To: Tomcat Users List Su

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean, King, Sean wrote: > It's a lomg story, but basically I am hooking into an SDK supplied by a > third party. The fact that I need to access jars in another web app is > their design. :( Ar you allowed to copy those JAR files into your own app? I

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > I am using commons email and a class called SimpleEmail which is extended > and used. Then there is no Tomcat configuration to be changed. If you were getting permission errors (for instance, from running under a SecurityManager),

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread King, Sean
Chris, It's a lomg story, but basically I am hooking into an SDK supplied by a third party. The fact that I need to access jars in another web app is their design. Sean -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 12:11 PM To:

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean, King, Sean wrote: > So, to cut a long story short, my app needs to register with the > supplied web app for the integration to work. You could always deploy them into separate TC instances. Then you can just start one of them before the other.

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean, King, Sean wrote: > When I > start tomcat, app2 is deployed and then app1 starts and is able to > access jars in app2. Uh... care to explain what /that/ means? Why are you having one app steal JAR files out of another one? And furthermore, why

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Chris, I am using commons email and a class called SimpleEmail which is extended and used. I have set the host name and port number in the constructor of EmailMessenger (extends SimpleEmail) public EmailMessenger() { super(); setHostName(emailConfig.getHostName().trim()); s

Re: tomcat problem

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Omar, Omar Chebaro wrote: > I am trying to add a servlet to the example application, > I put my class in a jar file and put it in > "tomcat_home/webapps/examples/WEB-INF/lib/" What was the "package" you used for your servlet? > and i made the necess

MX4J and Tomcat

2007-10-04 Thread E J Hsiao
Greetings, I am trying to get xml back via MX4J to retrieve Tomcat information. I followed the instruction on how to enable mx4j for Tomcat server.xml: And I was able to hit the MX4J page on http://JMX.HOST:JMX:PORT .. However, I would like to just get XML back vs. the

Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Jignesh Shah
Hi, Send the messaged first and then someone pointed out that by changing the subject line I was hijacking the message.. sorry for the mistake.. sending the question again: I have following weak ciphers as per Foundstone SSLDIgger in my tomcat(5.5) implemenation: EXP-DES-CBC-SHA EXP-RC4-MD5 DES-

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arun, Arun wrote: > I have configured sendmail at port 25 in ubuntu. It is working correctly as > I checked sending mails using a perl script as well as a javaprogram, but my > web application running in tomcat does not allow me to send a mail. It > s

setting secure cookie in Tomcat 5.0 config

2007-10-04 Thread Biagi, Bill (Contractor)
How do you set Tomcat 5.0 to use secure cookies on an SSL session. Back in 3.3 it was an attribute in server.xml of the SessionId module element called secureCookie. Setting it to true used to mark the session id cookie as "secure" if the session was established over SSL. BB This e-mail and it

Re: Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. This is known as thread hijacking and to many of the list archiving services and mail clients used by list subscribers this makes your new message

RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Peter, Would you happen to know of any good references that walks through how to trouble shoot Apache related performance issues? If I can zone in on the key issues I can obviously address them appropriately. Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 (office) (419) 249-72

Re: ROOT directory in webapps

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > Gaurav Pruthi wrote: >> How can I avoid creating of additional directory i.e. ROOT. > > You can't. This is by design. Correct me if I'm wrong, but this is a departure from the behavior of previous TC versions. I've never d

RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] > from the perspective of > performance, will the x64 yield much better performance for > this type of > thing over x32? Obviously it will from a systems standpoint but is it > evident from an end user perspective? Depends entirely on your applica

Re: mod_jk - fail_on_status per LB, not per worker

2007-10-04 Thread Rainer Jung
I think your decision is a wise one :) You can help by opening a bugzilla issue (Enhancement) for this topic. This way we will remember easier, when we start JK3. Regards, Rainer James Masson wrote: Hi Rainer, thanks for the advice - I think we'll stick with the current configuration, as pe

Re: Race condition with values displayed across redirects

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > lightbulb432 wrote: >> I have a question about whether there is a race condition with the following >> technique for displaying messages across redirects. > > Yes there is. > >> If you submit a form with an invalid value o

RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Peter, Thanks for the response. I have our network guy looking into that avenue for me. Just another question though, from the perspective of performance, will the x64 yield much better performance for this type of thing over x32? Obviously it will from a systems standpoint but is it evident fr

Re: ServletContext.getContextPath()

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, Terence M. Bandoian wrote: > request.getContextPath()? During startup? :( I don't believe you can do this through v2.4 of the the Servlet API, unfortunately. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: U

Re: Configuring and using DataSource in Tomcat

2007-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason, Heping Ling wrote: > Libraries (*.jar files) specific to an application should be in the > application's WEB-INF/lib directory, and those shared by all applications > should be in $CATALINA_HOME/common/lib. I put the database driver file in >

Disable ciphers in tomcat 5.5 not working

2007-10-04 Thread Jignesh Shah
Hi, I have following weak ciphers as per Foundstone SSLDIgger in my tomcat(5.5) implemenation: EXP-DES-CBC-SHA EXP-RC4-MD5 DES-CBC-SHA and few strong ones RC4-MD5 RC4-SHA DES-CBC3-SHA now I want to remove support for weak ones. So in server.xml I go and for connector port 8443 for my SSL I put p

Re: tomcat update service failing

2007-10-04 Thread Mark Thomas
John Eric Hamacher wrote: > Thanks for your help. I am trying to upgrade Tomcat 5.5 from Java 5 to Java > 6 but it didn't take: Which version? The first couple had an installer bug that meant a key dll was missing. I believe this is fixed in the latest version. Mark

Re: mod_jk - fail_on_status per LB, not per worker

2007-10-04 Thread James Masson
Hi Rainer, thanks for the advice - I think we'll stick with the current configuration, as people here seem to understand it quite well. I don't really like the idea of having to custom tweak things like the time-outs on connection pools, for every entry, just because we're trying to make mod_jk d

RE: Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Peter Crowther
> From: Tony Fountain [mailto:[EMAIL PROTECTED] > is there some sort of "server" type mode > for Apache to run in that will allow me to make use of more > than 1.5 GB of memory? You'll need the 64-bit JVM - and a 64-bit OS! Other than that, 1.5G is about as large a contiguous heap as Java can a

RE: tomcat problem

2007-10-04 Thread Omar Chebaro
Dear,I have an "Apache Tomcat/6.0.14" installed on the latest version of ubuntu osI am trying to add a servlet to the example application, I put my class in a jar file and put it in "tomcat_home/webapps/examples/WEB-INF/lib/"and i made the necessary modification to the web.xml fileand when

Sending Mail from a Java WebApplication does not work

2007-10-04 Thread Arun
Hi, I have configured sendmail at port 25 in ubuntu. It is working correctly as I checked sending mails using a perl script as well as a javaprogram, but my web application running in tomcat does not allow me to send a mail. It simply does not give me any error at all. But it does not send the mai

Re: ServletContext.getContextPath()

2007-10-04 Thread Terence M. Bandoian
request.getContextPath()? -Terence M. Bandoian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >