AW: Configuring and using DataSource in Tomcat

2007-10-04 Thread Iannetti, Gabriele
Hi Jason, do you know that you have to copy your used libraries to the lib directory in your used web-app? Regards, Gabriele ___ Gabriele Iannetti Werkstudent PROSTEP AG Dolivostraße 11, D-64293 Darmstadt Tel.: +49 6151 9287 301 Fax

Problems with DBCP in tomcat6

2007-10-04 Thread Josué Alcalde González
I am having a problem with DBCP. It is a problem with my applications written last year for apache-tomcat-5.5. They worked perfectly but I will soon need apache-tomcat-6 and I have upgraded my servers. I haven't had any problem with my old applications until I discovered every morning an

Re: Problems with DBCP in tomcat6

2007-10-04 Thread David Smith
Add validationQuery=select 1 to your Resource .../ definition to cause the database pool to test connections and regenerate them as necessary before your code gets a connection. --David Josué Alcalde González wrote: I am having a problem with DBCP. It is a problem with my applications

ROOT directory in webapps

2007-10-04 Thread Gaurav Pruthi
Hi, I am new to Tomcat. I have configured apache with Tomcat 6.014 using mod_jk. Below is my Tomcat Virtual Host created in server.xml file Host name=www.abcd.org appBase=webapps/www.abcd.org unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Valve

Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Nuno Branco
Hello list, This is my first post so treat me gently :) I'm trying to configure Apache + Tomcat with load balancing capabilities and I'm planning to use mod_jk to accomplish this, unfortunately I have not been very successfull. The HOWTOs I found in the net must be outdated since I'm not really

tomcat connector error

2007-10-04 Thread preet_1
Hi I want to connect Tomcat with IBM HTTP server. But while connecting(making the file JK connector binary) i got the following error --- Making all in common Target all is up to date. Making all in apache-2.0 /bin/sh

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Felix Schumacher
Hi Nuno, I would think you have configured mod_jk to use worker1 as the only worker in apache. You should use the loadbalancer worker in mod_jk.conf like JkMount /myapp/* loadbalancer and change your worker.properties to inlude the loadbalancer worker in the worker.list property like

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Rainer Jung
In addition to Felix Schumachers correct comments: Nuno Branco wrote: very successfull. The HOWTOs I found in the net must be outdated since I'm not really acomplishing anything usefull, also because apache is complaining about some options (as I will post below) that the HOWTO told me to put

Default page for some path

2007-10-04 Thread alee amin
Hi, there is some path exist on my website say .. http://localhost:8080/project/admin/ .. i wan that when user enter this url a default page should open which is one th e following path .. http://localhost:8080/project/admin/admin-menu.do .. what web.xml entry should i have to make? my all pages

Re: Apache2 / Tomcat5 / mod_jk - Problem with load balancer

2007-10-04 Thread Nuno Branco
Thank you. It was in fact that simple :) Time to go look at how to enable the session sticky properties. Thanks again. On 10/4/07, Felix Schumacher [EMAIL PROTECTED] wrote: Hi Nuno, I would think you have configured mod_jk to use worker1 as the only worker in apache. You should use the

Weird magic happening when deploying WARs via manager webapp

2007-10-04 Thread Mateusz Kijowski
Howdy list, I've been messing with our site's tomcat installation (we are running 5.5.17 with BEA's 1.5.0_06-b05 JRockit JVM on 2.6 Linux) recently and wanted to change our deployment process to use the manager application to upload and deploy WAR files. Right now we copy the webapp tree to

Re: Implementing HttpSession

2007-10-04 Thread Tim Funk
For a different session implementation than StandardSession : http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html It is a JDBC based version of storing an HttpSession. -Tim lightbulb432 wrote: Rather than using Tomcat's own HttpSession, I may be implementing HttpSession to write to

RE: Axis is not working.

2007-10-04 Thread zhshqzyc
I can't imagine it would be working without CLASSPATH. I uninstalled the tomcat 6.0 and installed tomcat 5.0.25. It works then. Caldarale, Charles R wrote: From: zhshqzyc [mailto:[EMAIL PROTECTED] Subject: RE: Axis is not working. Which environment variable should be removed? CLASSPATH?

Re: Race condition with values displayed across redirects

2007-10-04 Thread Mark Thomas
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 on page P1 and the receiving servlet S redirects to another page P2, you'd like page

Re: Default page for some path

2007-10-04 Thread Mark Thomas
alee amin wrote: Hi, there is some path exist on my website say .. http://localhost:8080/project/admin/ .. i wan that when user enter this url a default page should open which is one th e following path .. http://localhost:8080/project/admin/admin-menu.do .. what web.xml entry should i

Re: ROOT directory in webapps

2007-10-04 Thread Mark Thomas
Gaurav Pruthi wrote: How can I avoid creating of additional directory i.e. ROOT. You can't. This is by design. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Implementing HttpSession

2007-10-04 Thread Mark Thomas
lightbulb432 wrote: There are a couple of methods I'm having trouble understanding how to implement. The first is isNew(). Looking through the StandardSession code, I can't tell exactly when to set this to true and false - all I know is that initially upon session creation on the server (e.g.

Re: which JRE is Tomcat using?

2007-10-04 Thread John Eric Hamacher
That helped! Thanks! On 10/3/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: which JRE is Tomcat using? I have two JREs on my system, a Java 5 distribution and a Java 6 distribution. How can I decipher which JRE my Tomcat

tomcat update service failing

2007-10-04 Thread John Eric Hamacher
The following command: tomcat5 //US//Apache Tomcat --Classpath=C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar;C:\Tomcat 5.5\bin\bootstrap.jar gives me the following error: [410 prunsrv.c] [error] The system cannot find the file specified [1269 prunsrv.c][error] Load configuration failed Both

RE: tomcat update service failing

2007-10-04 Thread Caldarale, Charles R
From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: tomcat update service failing The following command: tomcat5 //US//Apache Tomcat --Classpath=C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar;C:\Tomcat 5.5\bin\bootstrap.jar Why are you trying to run the service installer

Re: tomcat connector error

2007-10-04 Thread Rainer Jung
The message says, the build system can't find your compiler. The build of mod_jk runs indirectly via libtool. it uses the version of libtool, that got used to build the web server. For apache 2.0 and above, we ask the apxs coming with apache via apxs -q LIBTOOL, which libtool got used to

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Peter Crowther
From: King, Sean [mailto:[EMAIL PROTECTED] For the application to run correctly, app2 must be deployed and start before app1. Using tomcat 5 this does not seem to be a problem. When I start tomcat, app2 is deployed and then app1 starts and is able to access jars in app2. I am hoping that

mod_jk - fail_on_status per LB, not per worker

2007-10-04 Thread James Masson
Hi list, I have a fully working mod_jk High-Availability Tomcat environment at the moment, and I'm looking to start catching web-app failures, as well as Tomcat server failures. At the moment, the service looks like this: Two Alteon hardware load balancers feeding Two mod_jk apache servers

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread David Smith
Webapp load order is indeed pretty much by chance. No guarantee has ever been made regarding any start order. I would recommend you add code to app1 so it can gracefully deal with the chance app2 is not available. --David King, Sean wrote: Hi all, I have two webapps that need to

Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread King, Sean
Hi all, I have two webapps that need to interact with each other. One is a fully expanded webapp ( app1 ) and the other is expanded from a war file ( app2.war ). For the application to run correctly, app2 must be deployed and start before app1. Using tomcat 5 this does not seem to be a

RE: Configuring and using DataSource in Tomcat

2007-10-04 Thread Heping Ling
Hi, Gabriele: Thanks for the reminder. 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 both directories just in case, but it

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Gabe Wong
Sean, From your description, it seems that communication between the 2 apps is done over the wire. If that is the case, why not run each under a separate JVM/Application Server to avoid the class loading conflict. King, Sean wrote: Without giving away too much information... I am working on

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 I'm trying to change the JRE the service is using. I cannot find service.baton my system. The service.bat script is part of the .zip download, but for some unknown reason isn't included with the

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread King, Sean
Without giving away too much information... I am working on an integration between the application that I develop and a third party application. A requirement of the integration is that my app receive unsolicited notifications from the third party app relating to status changes. This is achieved

Re: mod_jk - fail_on_status per LB, not per worker

2007-10-04 Thread Rainer Jung
No easy idea. At the moment, fail_on_status is only for workers, and not for workers in mounts. If you want to go the worker way, there are some simple tricks to not make it to complicated: - you can use the reference-attribute, to use worker templates. That way each worker only needs to

Re: tomcat update service failing

2007-10-04 Thread John Eric Hamacher
I'm trying to change the JRE the service is using. I cannot find service.baton my system. Is the part of Windows? Or Tomcat? How can I change the JRE using service.bat? Thanks. On 10/4/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED]

Re: tomcat update service failing

2007-10-04 Thread John Eric Hamacher
Thanks for your help. I am trying to upgrade Tomcat 5.5 from Java 5 to Java 6 but it didn't take: [2007-10-04 09:19:40] [174 javajni.c] [error] The specified module could not be found. [2007-10-04 09:19:40] [947 prunsrv.c] [error] Failed creating java C:\Program

Re: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread Gabe Wong
Actually after re-reading your post, Chuck's suggestion makes better sense. King, Sean wrote: Gabe, Could you provide a little more detail on this? Unfortunately I am no tomcat expert. How would running two JVM's help? Sean -Original Message- From: Gabe Wong [mailto:[EMAIL

Apache Tomcat (5.5) configuration suggestions

2007-10-04 Thread Tony Fountain
Hi, Windows 2003 Server R2 SP2 Apache Tomcat/5.5.23 JVM 1.5.0_12-b04 We are using a reporting product written in Java 1.4 from another vendor that integrates into our web application via frames and URL requests. We have been noticing various performance stability related issues (i.e. slow

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 How would running two JVM's help? It wouldn't. Your problem is one of synchronization, not classloader conflicts. You might try implementing a listener in app1 that periodically probes app2 and

RE: Webapp load order tomcat 4 vs tomcat 5

2007-10-04 Thread King, Sean
Gabe, Could you provide a little more detail on this? Unfortunately I am no tomcat expert. How would running two JVM's help? Sean -Original Message- From: Gabe Wong [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 10:21 AM To: Tomcat Users List Subject: Re: Webapp load order

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]

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

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 I

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

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

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

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

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 on page P1

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:

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

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 application

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

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 done

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

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)

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

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 its

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

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

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: Connector port=${AJP.PORT} handler.list=mx mx.enabled=true mx.httpHost=${JMX.HOST}

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 necessary

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());

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: 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 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: 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 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: 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

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:

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

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

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

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 treated as

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

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

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 details.

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

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

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 chance?

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: 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 might

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 property.

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: 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: 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.

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: users@tomcat.apache.org Sent: Thursday, October 04, 2007 5:07 PM Subject: Sending Mail from a Java WebApplication does not work

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

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

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?

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

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

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 -BEGIN

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 -

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 lol. How can I

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

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

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 issue

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

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 users@tomcat.apache.org 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

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 the

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 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 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:

  1   2   >