Re: Best practice to deply a web app

2009-07-10 Thread Leon Rosenberg
Also I'm not sure whether you may want to do it, but configureme (https://configureme.dev.java.net) allows you to configure 200 instances of your app in one war file). You specify configurations for specific environments (and, most notably, configuraiton deltas), and set the environment in the

Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Yasemin Gokce
Hi, I have a problem involving java web services and Tomcat and would greatly appreciate your help. CONTEXT--- I am using Windows Vista. I am following a manual* on building a

Re: Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Mark Thomas
Yasemin Gokce wrote: snip/ root cause java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory snip/ That isn't a Tomcat class. Try the axis users list. Mark - To unsubscribe, e-mail:

Re: Can't access Services in Tomcat: NoClassDefFoundError for HTTPResponseFactory

2009-07-10 Thread Yasemin Gokce
Oh, I am very sorry. Thank you very much for your reply and guidance. Best regards, Yasemin On Fri, Jul 10, 2009 at 12:54 PM, Mark Thomasma...@apache.org wrote: Yasemin Gokce wrote: snip/ root cause java.lang.ClassNotFoundException: org.apache.http.HttpResponseFactory snip/ That

Re: Best practice to deply a web app

2009-07-10 Thread carlson weber filho
Great David! That's exactly what I was looking for, excelent solution, thanks a lot! David Smith escreveu: Will Glass-Husain wrote: I generate site-specific war files. I used to do this with an ant script but now I use Maven. With ant you can specify system variables with the -D

Turn off logging of Exceptions

2009-07-10 Thread Henning Moll
Hi In my web application i use the error-page section in web.xml to handle 500 errors. The exceptions are stored in a database and also logged to stdout (catalina.out) along with additional information. Now it is a little bit annoying that the exception is also logged by

Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
Hello, I get a number of similar compilation errors when I try to compile the Servlets that are generated by Tomcat 6 Jsp-PreCompilation. One of them is as follows: C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\mobiledoc\WEB-INF\src\org\apache\jsp\index_jsp.java:18:

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Elliot Huntington
An Object is not a List even though a List is an Object. The method you are trying to implement requires a return type of List, not Object. On Fri, Jul 10, 2009 at 9:08 AM, Gaurav Naigaonkar gnaigaon...@gmail.comwrote: Hello, I get a number of similar compilation errors when I try to compile

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
The issue is, I am using ant scripts to Pre-Compile my Jsp's where I use Jasper2 compiler. So the Servlets are generated by Jasper2 and not manually. Hence, I do not control the Jsp's that are generated. Hope this makes the problem clearer. On Fri, Jul 10, 2009 at 11:14 AM, Elliot Huntington

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Konstantin Kolinko
There is an option in JspC that controls with what version of Java the generated sources are compatible with. Try to explicitly specify 1.5 for source and target (compilerSourceVM, compilerTargetVM ). See http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Configuration and the source of

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: The issue is, I am using ant scripts to Pre-Compile my Jsp's where I use Jasper2 compiler. So the Servlets are generated by Jasper2 and not manually. Hence, I do not control the Jsp's that are generated. Hope this makes the problem clearer. Tomcat version? Is this a

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
I tried adding these parameters. But still I get the same errors. As far as I understand, these parameters are associated with Jspc compilation. The errors I get are when I try to compile the Servlets that are generated by JspC. So I guess there may not be a problem with JspC compilation but with

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
I am using Tomcat 6.0. There isnt a mismatch in Tomcats here. I have a Ant script that I am running from command line. So I guess Tomcat version should not be an issue. Let me know if what I am assuming is wrong. On Fri, Jul 10, 2009 at 11:23 AM, Mark Thomas ma...@apache.org wrote: Gaurav

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: I am using Tomcat 6.0. There are 21 different 6.0.x versions. You need to be precise. There isnt a mismatch in Tomcats here. I have a Ant script that I am running from command line. So I guess Tomcat version should not be an issue. You must be using *exactly* the

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Gaurav Naigaonkar
My Tomcat version is: 6.0.18.0 Also, I am using the same Tomcat versions for pre-compilation and execution. The Ant script that I am using is same as what is available on the Apache Tomcat site: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Web%20Application%20Compilation So, I am

Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Mark Thomas
Gaurav Naigaonkar wrote: My Tomcat version is: 6.0.18.0 Also, I am using the same Tomcat versions for pre-compilation and execution. The Ant script that I am using is same as what is available on the Apache Tomcat site:

RE: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent

2009-07-10 Thread Caldarale, Charles R
From: Gaurav Naigaonkar [mailto:gnaigaon...@gmail.com] Subject: Re: Error: cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent My Tomcat version is: 6.0.18.0 The Ant script that I am using is same as what is available on the Apache Tomcat site:

Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread Josh Gooding
I am installing Tomcat 6.0.18 on a Windows 2K3 x64 box. The service will not start. I am only getting the jakarta_service log and it says the following: [2009-07-10 19:25:32] [info] Procrun (2.0.4.0) started [2009-07-10 19:25:32] [info] Service Tomcat6 name Apache Tomcat 6 [2009-07-10 19:25:32]

RE: Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread Caldarale, Charles R
From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Trying to run Tomcat on Win Server 2K3 returns error I am installing Tomcat 6.0.18 on a Windows 2K3 x64 box. Assuming you're using a 64-bit JDK, you need to use the 64-bit version of tomcat6.exe, which is available here:

Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m
Hi There, Is there a way in tomcat to ignore or trust any SSL certificate when connecting to a site through https? I know there is some JAVA code for it. But can we do it through tomcat or JVM settings too? Regards, Kareem -- View this message in context:

Re: Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread Josh Gooding
t/y seemed to work :) you the man! On Fri, Jul 10, 2009 at 2:38 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Trying to run Tomcat on Win Server 2K3 returns error I am installing Tomcat 6.0.18 on a Windows 2K3 x64

Re: Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread André Warnier
Caldarale, Charles R wrote: From: Josh Gooding [mailto:josh.good...@gmail.com] Subject: Trying to run Tomcat on Win Server 2K3 returns error I am installing Tomcat 6.0.18 on a Windows 2K3 x64 box. Assuming you're using a 64-bit JDK, you need to use the 64-bit version of tomcat6.exe, which is

FTPSClient running under Tomcat 5.5 - SSLException

2009-07-10 Thread Evan Smith
I have a Java 1.5 application hosted in Tomcat 5.5, and am using Spring 2.0. The application has a wired controller that references an instance of org.apache.commons.net.ftp.FTPSClient (commons-net-2.0). On request, this controller should trigger a new FTP connection over SSL to an

RE: Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Trying to run Tomcat on Win Server 2K3 returns error Just a question : considering that this same issue seems to come up at least twice a week recently, why aren't the needed pieces part of the standard download package ? I believe

Re: Trying to run Tomcat on Win Server 2K3 returns error

2009-07-10 Thread Mark Thomas
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Trying to run Tomcat on Win Server 2K3 returns error Just a question : considering that this same issue seems to come up at least twice a week recently, why aren't the needed pieces part of the standard

IIS ISAPI redirector help! Attempting to map URI always fail with invalid argument.

2009-07-10 Thread Dan Ganny
Hi guys, I am really desperate to need some help with a weird customer issue. The IIS ISAPI redirector log excerpt is posted below. The URI printed out in the log is '/24.220.76.4http://24.220.76.4/CCPROChat/CPChatRequest.jsp'. This is obviously invalid, I know it should be

RE: Ignore or Trust any certificate

2009-07-10 Thread Jason Pyeron
-Original Message- From: kareem_s_m Sent: Friday, July 10, 2009 14:47 Hi There, Is there a way in tomcat to ignore or trust any SSL certificate when connecting to a site through https? I know there is some JAVA code for it. But can we do it through tomcat or JVM

Re: request thread hanging

2009-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Will, On 7/6/2009 4:15 PM, Will Glass-Husain wrote: Interestingly - I can easily reproduce this by repeatedly refreshing the page when going through httpd When I go direct to Tomcat via http, it works fine. Maybe it's something about httpd or

Re: DBCP and Firewall timeouts

2009-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 AD, On 7/7/2009 11:47 AM, AD wrote: unfortunately still not working. One thing that i noticed, when i clear my browser cookies, everything works fine again. One of the things we do is use cookie persistence to send a user to the same tomcat

Re: Problems downloading files. How to identify the CANCEL button?

2009-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 7/8/2009 6:40 AM, André Warnier wrote: The /only/ way, from a design perspective, to make sure, is some architecture whereby, at the user browser side, something checks that everything has been received, and then sends back some OK

Re: Problem with system property

2009-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 7/8/2009 7:42 AM, André Warnier wrote: - Bitterly complain to the supplier of that app. +1 - in the meantime, run this app in a separate Tomcat (and JVM) instance. +2 We run all of our (4) webapps in separate JVMs, mostly because

Re: RES: Problems downloading files. How to identify the CANCEL butto n?

2009-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Siomara, On 7/8/2009 10:36 AM, siom...@portosdobrasil.gov.br wrote: The buttons I see [OPEN], [SAVE] and [CANCEL] are not created and controlled by me. They belong to the download manager window that comes automatically with a certain command.

RE: RES: Problems downloading files. How to identify the CANCEL butto n?

2009-07-10 Thread Martin Gainty
yes Op: could you display the jsp ? Martin Gainty __ 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

Running schduled jobs

2009-07-10 Thread Ravi Sharma
Hi All, I need to run some threads at particular time during the day, does Tomcat provide any such facility? If not then whats the other best way to go for it. Basically i recalculate my site's visitor data every 30 minute and keep in cahce and then display to users, 30 minute delay for my data

RE: Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m
Server Certs If my application is the client, and I am connecting to a website through a HTTP Post, then I want the tomcat (on which my website is running) to not validate the connecting site's certificate. It should either ignore or trust any certificate. -Original Message-

RE: Ignore or Trust any certificate

2009-07-10 Thread Caldarale, Charles R
From: kareem_s_m [mailto:kareemud...@gmail.com] Subject: RE: Ignore or Trust any certificate If my application is the client, and I am connecting to a website through a HTTP Post, then I want the tomcat (on which my website is running) to not validate the connecting site's certificate. It

RE: Running schduled jobs

2009-07-10 Thread Caldarale, Charles R
From: Ravi Sharma [mailto:ping2r...@gmail.com] Subject: Running schduled jobs I need to run some threads at particular time during the day, does Tomcat provide any such facility? Tomcat doesn't, but Java does: java.util.Timer. Just make sure to cancel() the timer when your webapp is being

RE: Ignore or Trust any certificate

2009-07-10 Thread kareem_s_m
So when my site connects to a site through HTTPS protocol, tomcat tires to validate the server certificate with the cacerts keystore in my JDK. Now if the server certificate is signed by a trusted authority then the connection is successful. But if the certificate is a test one (not signed by any

Re: Ignore or Trust any certificate

2009-07-10 Thread Hassan Schroeder
On Fri, Jul 10, 2009 at 9:36 PM, kareem_s_mkareemud...@gmail.com wrote: So when my site connects to a site through HTTPS protocol, tomcat tires to Whoa. Your site doesn't connect to anything. And Tomcat doesn't tire (sic) anything. Your *application* is, wait, what? Caught unhandled