OFF TOPIC: email postage should be of interest to those who use OSS newslists

2004-02-02 Thread David Wall
Sorry for this off topic posting, but it should be of interest to those in the OSS communities since it threatens us. The following story appeared in the New York Times as well as various local papers (like the one here in Seattle). http://www.nytimes.com/2004/02/02/technology/02spam.html The

RE: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Hamilton Andrew
I have RH AS and I use Tomcat5, mod_jk2, and apache2 and they all work fine. I use the uri's you say don't work, ie [uri:/servlets-examples/*] works just fine for me. You are free to do what you like as far as switching to a different framework. I see several people are trying to help you and it

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Chakravarthy, Sundar
Try using JDBC in a stand-alone Java app instead of Tomcat. Just to make sure you have the right driver/classes . -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: RE: Error in JDBC conn / Apache

Insufficient Error messages on jsp error

2004-02-02 Thread Lukas sterreicher
Hello. Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp files (I think both compile and runtime) I just get an error like: [ServletException in:/programtracklist.jsp] null' and 2004-01-16 14:58:44 ApplicationDispatcher[/yarf] Servlet.service() for servlet jsp threw

Re: AUTO 'Getty=001-016-162'Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Josh Rehman
Maybe the best thing to do is to try to bulk unsubscribe everyone on the list. All the autoresponders will go away. Normal people will stay. My recommendation is to require subscribers to do something in the reply, like type a word. Filip Hanik (lists) wrote: yes, but the user will not get

Re: About_tomcat5_manager_and_status_application

2004-02-02 Thread Josh Rehman
I think the answer was, You can't. Not, if you change some libraries it might work. Ingmars Rubenis wrote: Do You know what libraries Should I change like common.jar May be I should change all server/lib libraries and also common? Yoav Howdy,

Re: Insufficient Error messages on jsp error

2004-02-02 Thread Daniel Gibby
Maybe this has to do with the level of debug you have on. Daniel Gibby Lukas sterreicher wrote: Hello. Since I upgraded to Tomcat 5 it's been bugging me that on errors in jsp files (I think both compile and runtime) I just get an error like: [ServletException in:/programtracklist.jsp] null'

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Jeff Tulley
You can also put a transport guarantee of CONFIDENTIAL in web.xml When you do make sure that your redirect ports on the Apache connector in server.xml are correct (default is 8443, needs to be 443 if you are using Apache for SSL). [EMAIL PROTECTED] 2/2/04 10:32:51 AM I describe this in my

RE: tomcat and apache

2004-02-02 Thread Yansheng Lin
Hi, you might get more answers if you ask this question on httpd mail list. This is not a tomcat problem, rather it's the proxy configuration in httpd that's giving you grief. You might want to take a look on how you define you Directory and Location directives. Without looking at your

Re: Insufficient Error messages on jsp error

2004-02-02 Thread Martin Gainty
Dan I would recommend setting up an ANT http://ant.apache.org/ script with jsp-precompiling right after you freshen source from source control (and before general java compile step)..this is an absolutely necessary methodology you should utilise if you will be doing enterprise wide development.

Java Job in Williamsburg VA, USA

2004-02-02 Thread Angus Mezick
GuideStar, an Internet-based organization located in historic Williamsburg, VA seeks an experienced JAVA programmer to work in the Information Technology department. Successful candidate will have 3+ years of Java programming experience and web based application development. Specifically,

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi, It sounds like you're talking about configuring Tomcat to do SSL, but I assume the user is using Apache for SSL. In the normal scenario the connector would ONLY communicate on port 8009. Port 8443 is generally for Tomcat to serve pages directly using SSL. I think what the user is looking

[OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Shapira, Yoav
Hi, Has anyone seen an error message with the title in the subject line before? I get it when I run a java class using ant that contains the following construction: ResultSet rs = ... Blob blob = rs.getBlob(columnName); String str = new String(blob.getBytes(1, (int) blob.length()); The method

Re: [OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Oscar Carrillo
Do you mean to say that it doesn't happen when NOT using Ant? Just wondering. Not too much to add. I'm assuming this is the JDBC driver's inability to handle the streaming for Blobs. What database and driver are you using? I could try it with Postgres 7.4.1 in the near future. I don't really

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 17:30 schrieb Yiannis Mavroukakis: Use the Location directive and stick SSLRequireSSL in it. Location /path/to/root/of/webapp SSLRequireSSL /Location I tried this, but it doesn't seem to work. I actually have

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:01 schrieb Oscar Carrillo: I think what the user is looking for is this in httpd.conf for your virtual host: #httpd.conf VirtualHost section of myhost.mydomain Redirect /mywebapp https://myhost.mydomain/mywebapp I tried this, but it doesn't seem to work. I added

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Please try what I describe in my earlier post, and check my web page for a better description: http://www.linuxjava.net/howto/webapp/ Oscar On Mon, 2 Feb 2004, Ralf Schneider wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Montag, 2. Februar 2004 17:30 schrieb Yiannis

RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT

2004-02-02 Thread Kumar Abhay-CAK203C
I tried this also .. No success Best Regards Abhay Kumar -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 1:10 PM To: [EMAIL PROTECTED] Subject: RE: Error in JDBC conn / Apache Tomcat/4.1.29 URGENT You need to remove all references to

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
I believe you need to setup a VirtualHost section in httpd.conf even if you don't really need Virtual Hosting. Also try Redirecting the whole site. I'm not sure if I've tried just the webapp. I'm not sure if you need to compile the rewrite module for the redirect, but I don't think so.

RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Yansheng Lin
Take a look at your request header(or response hearder). In this case, it's more likely to be the request. You are trying to set a cooking with no argument, you web container will throw an IllegalArgumentException. The syntax for cookie in request header: Cookie: NAME1=OPAQUE_STRING1;

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:21 schrieb Oscar Carrillo: Please try what I describe in my earlier post, and check my web page for a better description: http://www.linuxjava.net/howto/webapp/ I took a look at it, but it seems to be a howto for mod_jk with Tomcat 4.1.x. But I have used mod_jk2

RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Papillon
Thanks a lot for your answer. I'm using Tomcat-StandAlone (port 80) So, I don't have this type of problems on anothers computers with the same classes and jsdk. I have used a sniffer and all cookies seems to have an argument. I will retry and be carefull on this point. Best regards -Original

problems shutting down server when enabling the SimpleTcpCluster

2004-02-02 Thread Aadi Deshpande
Hi, we have 2 tomcat instances that are clustered via the SimpleTcpReplication cluster. When they start up, i see that they are both communicating and they seem to be working OK. However, whenever I try to shut down an instance using the $TOMCAT_HOME/bin/catalina.sh script, the server

Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Rich Baldwin
Ok. I'm ready to partially retract all of the mean things that I said about tomcat. If anyone thinks that they will be saving themselves time by installing an rpm of mod_jk2.so, think again; re-build from the source! Thanks to all you responded. Rich Hamilton Andrew wrote: I have RH AS

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:26 schrieb Oscar Carrillo: I believe you need to setup a VirtualHost section in httpd.conf even if you don't really need Virtual Hosting. I did that. Also try Redirecting the whole site. I'm not sure if I've tried just the webapp. I'm not sure if you need to

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
You're right it's for mod_jk. But the httpd.conf would mostly be the same, which is where your problem is. You must only mount (no global include mod_jk2.conf) the webapp in ssl.conf, and additionally you can redirect http to https in httpd.conf so that ppl automatically get moved to https.

RE: RE: Please help Console Problem in tomcat 5.0.16

2004-02-02 Thread Yansheng Lin
In your web.xml: servlet-classpackage1.structure.HelloServlet/servlet-class You package declaration is: package package.structure They don't exactly match each other. -cheers:). -Original Message- From: Avinash Sridhar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02,

Re: Tomcat5 RH ES mod_jk2 Apache2

2004-02-02 Thread Oscar Carrillo
Absotively! Long-live the Source. Oscar On Mon, 2 Feb 2004, Rich Baldwin wrote: Ok. I'm ready to partially retract all of the mean things that I said about tomcat. If anyone thinks that they will be saving themselves time by installing an rpm of mod_jk2.so, think again; re-build from the

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Ralf Schneider
Am Montag, 2. Februar 2004 21:47 schrieb Oscar Carrillo: You must only mount (no global include mod_jk2.conf) the webapp in ssl.conf, and additionally you can redirect http to https in httpd.conf so that ppl automatically get moved to https. I added the following three lines to ssl.conf

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
Hi, The JkMount directives tell Apache to pass these request thru the Connector to Tomcat. I do this very same thing for jWebMail, cause I don't want it accessible thru http, only https. Here's my ssl.conf config section for it: --

[INFO] ChannelSocket - -connection timeout reached

2004-02-02 Thread Asif Chowdhary
Hi I am running the RH linux with apache and mod_jk2. On the window machine I have tomcat. When I run the examples I see this message in the windows console where tomcat is running. [INFO] ChannelSocket - -connection timeout reached Do I need to increase the time in server.xml or

RE: Tomcat 5.0.18 : Bad Cookie Names, the return ?

2004-02-02 Thread Yansheng Lin
Do you get this error when you try to access the webapp inside of your firewall? For example, on the Win2K server itself with http://localhost:80/. Sorry I cannot be much of help there since we use a different network setup, and Apache-Tomcat combo. Speaking of sniffer, I found Burp proxy

RE: access log

2004-02-02 Thread Yansheng Lin
Hi, How about just log errors and warnings to the db? So for other types of log entry, it will still be file based; but when there is an error or a warning, in log4j, you set it up so it writes to two places. I don't notice any performance issue with this setup. But just want to confirm.

RE: URLRewrite help needed

2004-02-02 Thread Duane Burchell
Howdy, Take a look at tomcat 5's balancer webapp, and/or http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html Okay - stupid question. I'm running Tomcat 4.1. Can this be made to work on it? Has anyone used the filter from tuckey.org successfully? Thanks, Duane Yoav

WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G
I have a single server running Tomcat supporting several webapps. The web apps fall into two categories: webapps that require quick response but that use few system resources webapps that are expected to process for a long period and consume large amounts of system resources The goal is to

[OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
Sorry for this sort of OT question. I'm trying to get a jsp page to refresh with either response.setHeader(Refresh,30) or response.setIntHeader(Refresh, 30). But I can find no sign of any refreshing going on. Does anyone have any clues as to what might prevent the refresh? Exact code is: %

WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G
I have a single server running Tomcat supporting several webapps. The web apps fall into two categories: webapps that require quick response but that use few system resources webapps that are expected to process for a long period and consume large amounts of system resources The goal is to

Re: HTTPS with Apache 2.0.48 and Tomcat 5.0.16

2004-02-02 Thread Oscar Carrillo
The method I describe may not work w/ mod_jk2. Frankly, I don't know. But I did a search and found this site, which seems to show that you can define these things in workers2.properties http://www.pixelfreak.net/howto/apache2_jk2_tomcat/socket.html Oscar http://www.linuxjava.net/howto/webapp/

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Yansheng Lin
so you want you page to refresh every 30 seconds, right? You can use the meta tag, something like meta http-equiv=refresh content=60 Hope this helps. -Yan -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 3:39 PM To: Tomcat Users List

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
I thought that response.setHeader(Refresh,30) was supposed to be a shortcut for the meta code you suggest. But since it just won't work for me I may try your suggestion. Thanks, Ken -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 6:00 PM

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Januski, Ken
Yangshen, As soon as I tried your method it worked just as it should have. But I'm still stymied why response.setHeader and setIntHeader don't seem to work. But users will be happy it refreshes, which is what's most important. It's now more of a theoretical question as to why response.setHeader

Yet another OT question.

2004-02-02 Thread David Short
It seems like a slow day on the list so, thought I'd throw my issue out there. I'm working with Tomcat 4.1.0, Oracle 8.1.7 and JDBC 1.2. It seems that the JDBC executeUpdate() method doesn't raise an exception when I pass an incorrect SQL statement. It returns 0 rows, but no exception. Anyone

Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 2:38 pm, Parris, Edward G wrote: I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool warning on startup stating that my maxThreads setting was too low and that it would be reset to 10. WARNING: maxThreads setting (3) too low, set to 10 Does

RE: [OT]:Jsp page won't refresh

2004-02-02 Thread Yansheng Lin
If you really want to use jsp, you code should work. You might have to delete /work so that your jsp page gets recompiled. I don't recommend it though. -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 4:04 PM To: Tomcat Users List

{Virus?} Hello

2004-02-02 Thread tomcat-user
in /var/spool/MailScanner/quarantine/20040202 (message 1Annsn-0001aG-G6). -- Postmaster Mailscanner thanks transtec Computers for their support - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: anyone running tomcat-4.1.29 with commons-daemons?

2004-02-02 Thread Jeff Barrett
Was there ever a resolution here? I'm getting exactly the same error using 4.1.x and the below linked Tomcat.sh script (modified to my paths). Thanks, +jeff Bill Barker wrote: I've been using commons-daemon happily with Tomcat 4.1.x for quite some time now. I'd suggest starting from

Re: anyone running tomcat-4.1.29 with commons-daemons?

2004-02-02 Thread Jeff Barrett
Was there ever a resolution here? I'm getting exactly the same error using 4.1.x and the below linked Tomcat.sh script (modified to my paths). Thanks, +jeff Bill Barker wrote: I've been using commons-daemon happily with Tomcat 4.1.x for quite some time now. I'd suggest starting from

Jk2 and IIS Filters: Can I setup chain of filter between JSP and other engines

2004-02-02 Thread Evan Borysko
For IIS 5.1 / WinXP and IIS 6 / Win2k3 I've been reading MS descriptions about ISAPI filter actions, and from thier description, filters execute inorder from highest presented to lowest and in the order they appear in the configuration. Is my understanding correct? What I'm atempting to do is

deploying and undeploying web applications at run time

2004-02-02 Thread Abhijat Thakur
Hi, I am using tomcat version 4.1.27. I start up my tomact by setting all the system properties and class path and then making a call org.apache.catalina.startup.Bootstrap.main(start). After this has been done then at run time i want to deploy and undelpoy applications. How can i do that? I

Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Josh Rehman
David Rees wrote: 1. Recompile Tomcat 5, lowering the hard-coded minimum. 2. Implement a filter or some other type of synchronization in your servlet which keeps track of the number of currently executing requests and redirects the user to a different page with a meta refresh letting them know

RE: Yet another OT question.

2004-02-02 Thread George Sexton
Probably a flake in the Oracle driver. Check you are using the latest one. -Original Message- From: David Short [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 4:18 PM To: 'Tomcat Users List' Subject: Yet another OT question. It seems like a slow day on the list so, thought

Query about remote_user header Tomcat 5.0.16

2004-02-02 Thread David Smith
I've googled to every relevant doc I can find on this and can't seem to locate a reason for it. Hopefully someone on the list can help. Here's the setup: Apache 1.3.28 web server acts as a front-end to the public. It has a special home-grown authentication module for use here at Cornell used

RE: Yet another OT question.

2004-02-02 Thread David Short
I pulled the latest (1.2 for Oracle 8.1.7) off of Oracle's web site today. -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 6:33 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Yet another OT question. Probably a flake in the

Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 6:28 pm, Josh Rehman wrote: This brings up an interesting point. I'm too lazy to test it, but what happens if you tomcat needs more threads than it is allowed? Does the user get a 404? No. If the acceptCount is set to more than 0, the request will sit in the

RE: Yet another OT question.

2004-02-02 Thread George Sexton
I broke out my JDBC handbook (JDBC API Tutorial and Reference, Second Edition) and it says: Returns an int indicating the number of rows affeted by an INSERT,UPDATE, or DELETE statement; 0 if no rows were affected or the statement executed was a DDL statement. Throws SQLException if the

RE: Yet another OT question.

2004-02-02 Thread David Short
My statement is performing an insert, which would not return a result set. An executeQuery() would return a result set. I too, read the description about returning an int. I intentionally tried inserting a duplicate value in the index, trying to force an error, and no error was generated. The

RE: Yet another OT question.

2004-02-02 Thread George Sexton
The error is signaled by getting 0 back as the number of affected records. -Original Message- From: David Short [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 10:16 PM To: 'Tomcat Users List' Subject: RE: Yet another OT question. My statement is performing an insert, which

RE: Yet another OT question.

2004-02-02 Thread David Short
How about replying to one email address or the other. ok? I'm getting duplicate messages. Don't get me wrong, I appreciate your help. I just don't need the same message twice. -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 9:20 PM To:

jsvc and -config?

2004-02-02 Thread Mark Woon
With the old startup script (startup.sh), there's a -config parameter to pass in a specific server.xml to use. Is there an equivalent parameter with jsvc? If not, is there any way to achieve the same objective? Thanks, -Mark

{Virus?} test

2004-02-02 Thread tomcat-user
Warning: This message has had one or more attachments removed Warning: (document.scr). Warning: Please read the VirusWarning.txt attachment(s) for more information. I^8 5n trWw?e`~QR^du{LqL*fX6 K|83Ipzge?Dqi,?ci7!z!^~ ]IQX?H2R?MAD$}1NXnN Mp_J\]5m?W9Yph:wB$S S

Re: Yet another OT question.

2004-02-02 Thread Antonio Fiol BonnĂ­n
When we insert duplicates, we do get SQLException as a response. We are using Oracle 9.2, however. No idea why they behave differently. What does the DB do if you insert duplicates from sqlplus or a similar tool? Antonio Fiol George Sexton wrote: The error is signaled by getting 0 back as

files with .jsp suffix

2004-02-02 Thread TeamGrumman
How can I get the software to open.jsp files on my macintosh? Gary

<    1   2