RE: Filter: Reading the http response content

2003-01-30 Thread rf
Thanks guys, Google actually gave me the fish itself :-) http://forum.java.sun.com/thread.jsp?thread=338226&forum=33&message=1387958 The whole code is there at the end, and it works! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up

Catching exceptions

2003-01-30 Thread Larry Meadors
I have been trying to use the error-page tags in web.xml to catch errors, but have found that errors that happen after output has been flushed do not get sent to that page, instead I get a illegal state exception. Is there a way to catch exceptions that happen after output is flowing? Larry ---

Re: Shutdown problems with malformed reply from SOCKS server

2003-01-30 Thread Jeff Self
On Thu, 2003-01-23 at 10:33, Hugh Field-Richards wrote: > Hi > > I am running Tomcat 4.1.18 on a Mac G4 running OS-X 10.2.3 > which is a fairly vanilla installation. Starting Tomcat seems ok > but stopping does not happen. The following is produced ... > > su-2.05a# /Library/StartupItems/To

RE: Filter: Reading the http response content

2003-01-30 Thread Hookom, Jacob John
I just finished up a caching filter, I ended up creating a DualServletOutputStream that wrote both to the response and a ByteArrayBuffer, this gets lazy loaded when getOutputStream() is called on the wrapper, else it will wrap the ptrintstream. You will want to follow the same logic found in th

Tomcat 5.0 where is the console for System.out.println

2003-01-30 Thread Julio Oliveira - Buenos Aires
HI I have download tomcat 5.0 and is good and work fine at win 2000 that the others 4. not. BUT - i have not yet the DOS Console, where cant' i see the clasic System.out.println ( we use for debug ) thanks. Julio Oliveira = Julio Oliveira Java Developer - Instructor - Cursos @mail Bu

RE: Can the JNDI Connection Pool re-connect after failure?

2003-01-30 Thread Raible, Matt
I've discovered that this problem is related to a 90-minute timeout on our firewall. Tomcat sits outside of the firewall, and Oracle resides inside. Since there's no activity for 90 minutes, it closes the connection. Anyone know of a workaround (+ sample code) for this? I'm assuming a ping of so

Re: Filter: Reading the http response content

2003-01-30 Thread Erik Price
Tim Funk wrote: You must wrap the response in a HttpServletResponse wrapper then override the getOutputStream/Writer with your own methods which provide a "proxy" to the real getOutputStream/Writer. The wrapped object then goes to the next filter in the chain. I think that what he is asking

RE: Invalid TLD resource path

2003-01-30 Thread Sean Dockery
Doubtful as that would be a platform specific problem. Why can't you simply keep a copy of the JAR in the lib folder? What happens when you hard link the JAR? -Original Message- From: Mike Johnson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 22:19 To: Tomcat Users List Subj

RE: web.xml servlet and resources

2003-01-30 Thread Sean Dockery
Look in the J2EE docs for HttpServletRequest.getPathInfo. Sean Dockery [EMAIL PROTECTED] -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 17:17 To: [EMAIL PROTECTED] Subject: web.xml servlet and resources Hello all, This is a fairly

Re: Filter: Reading the http response content

2003-01-30 Thread Tim Funk
You must wrap the response in a HttpServletResponse wrapper then override the getOutputStream/Writer with your own methods which provide a "proxy" to the real getOutputStream/Writer. The wrapped object then goes to the next filter in the chain. In other words, a pain in the a$$. Before re-inven

RE: useBean error

2003-01-30 Thread Filip Hanik
make sure the class attribute is fully qualified Filip -Original Message- From: Khalid Hajsaleh [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 29, 2005 7:50 PM To: 'Tomcat Users List' Subject: jsp:useBean error Hi, I am trying to use the directive jsp:useBean in my jsp but that s

Re: Filter: Reading the http response content

2003-01-30 Thread Jacob Kjome
Look into using an HttpServletResponseWrapper. Jake At 09:46 AM 1/30/2003 -0800, you wrote: In my filter I want to cache the content of HttpServletResponse so that I can save that in a file and use a static file's servlet for the next request. However, I am not able find interface to get the (h

jsp:useBean error

2003-01-30 Thread Khalid Hajsaleh
Hi, I am trying to use the directive jsp:useBean in my jsp but that seems to be causing an exception(at org.apache.jasper.runtime.PageContextImpl.handlePageException), any ideas? Here is what I am trying to do: In a forward.jsp, I have: <%@ page import="Mylogin.UserLoginBean" %> My class M

Filter: Reading the http response content

2003-01-30 Thread rf
In my filter I want to cache the content of HttpServletResponse so that I can save that in a file and use a static file's servlet for the next request. However, I am not able find interface to get the (html)content from the response object. if (up2date) { RequestDispatcher rd = requ

getServerPort

2003-01-30 Thread Lacey James-CJL023
Hello, We have set Tomcat 4.x up to run standalone. We then set up several connectors in the server.xml file that listen on ports like 4080, 4081, etc. When a requests comes in on these ports, and is serviced by a servlet, the HttpServletRequest.getServerPort() method always returns 80 no matter

RE: Tomcat throwing error

2003-01-30 Thread Sreedhar, Dantam
Thanks John. But we have all latest patches (recommended) from SUN on our servers. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 7:57 PM To: 'Tomcat Users List' Subject: RE: Tomcat throwing error Is your Solaris install patched to the

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
I get the solution. Change TOMCAT 4.1.12 to TOMCAT 4.1.18 Thanks to all answers. Antonio, Antonio Vázquez [EMAIL PROTECTED] www.winsoftsystems.com - Original Message - From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003

Re: DBCP Factory

2003-01-30 Thread Jacob Kjome
4.0.x uses Tyrex. DBCP is for 4.1.x. And make sure you get the full version of Tomcat instead of the jdk1.4.x-LE version. Jake At 11:21 AM 1/30/2003 -0500, you wrote: I don't have commons-dbcp.jar in my system's Tomcat -- is that new in 4.1? My server runs Tomcat 4.0.6, does that mean I hav

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
John Yes, i am seeing the same behavior in my applications. I use the examples webapp as test, because when I installed my own application i had a lot of problems with the Tomcat login (with realms) over SSL. I think that examples is perfect to fix the problem , and don't mix with other problems

Re: Redirect and Tomcat

2003-01-30 Thread Erik Price
Daniel Brown wrote: This was news to me too. But, from the horse's mouth: [...] So, in theory, you should generate a 303 response if the request method was POST, and the web page you're redirecting to should be retrieved with a GET. But in practice, the web browser will do just what you expe

RE: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Turner, John
I understand that...it's the examples. I guess I don't understand why it is so important for that examples URL to work over SSL. Are you saying you duplicated that setup for your own webapp, and are seeing the same behavior? John > -Original Message- > From: Antonio Vázquez [mailto:[E

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
Ralph, This is the problem (i saw it in log files) ... but this happen with the examples aplication of Tomcat 4.1.12 Antonio, - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 5:22 PM Subject: RE:

RE: Redirect and Tomcat

2003-01-30 Thread Daniel Brown
This was news to me too. But, from the horse's mouth: RFC 2616HTTP/1.1 June 1999 If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
The same that i got when used http: if you type http://mihost/examples/servlet/ the system show the index.html page. The same with jsp: http://mihost/examples/jsp/ must be the same to type http://mihost/examples/jsp/index.html When I change to https, only works the second one (https://mihost/e

Re: DBCP Factory

2003-01-30 Thread Erik Price
I don't have commons-dbcp.jar in my system's Tomcat -- is that new in 4.1? My server runs Tomcat 4.0.6, does that mean I have to put DBCP JAR in my webapp's WEB-INF/lib ? Erik Roberts, Eric wrote: Hi, common/lib should contain commons-dbcp.jar - that is where the BasicDataSourceFactory is. -

RE: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Ralph Einfeldt
I guess https://mihost/examples/servlet/ should go to https://mihost:443/servlet/index.html or https://mihost:/servlet/index.html instead of http://mihost:443/servlet/index.html Which won't work at all, as the browser now tries to talk plain http on port 443. It looks like the welcome file featur

RE: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Turner, John
https://mihost/examples/servlet/ just calls the Invoker servlet (on 4.1.18, at least). What behavior are you expecting, exactly? John > -Original Message- > From: Antonio Vázquez [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 10:52 AM > To: Tomcat Users List > Subject: R

Re: Redirect and Tomcat

2003-01-30 Thread Erik Price
Paul Yunusov wrote: Roman, The HTTP1.1 spec says the client should follow the redirect only if the method is GET or HEAD, so check that. Pardon for butting in, but does this mean that my login servlet which accepts and processes a POST request, then uses response.sendRedirect() to send the

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
I test this: https://mihost/examples/servlet/index.html WORKS!! (all the examples run in HTTPS) https://mihost/examples/servlet/DOESN'T WORK!! -- Redirect to ---> http://mihost:443/servlet/index.html Any idea? Antonio Vázquez [EMAIL PROTECTED] www.winsoftsystems.com - Original Message

RE: j_security_check problem

2003-01-30 Thread Raible, Matt
The problem is that your initial request is to the same page as your . The initial request should be do a protected resource, then the user will be prompted for the login page, and then upon successful authentication - they will be routed to the initial request. I usually have an index.jsp that r

Re: custmize http error - page not found

2003-01-30 Thread jmong
Add the following to your web.xml 404 /path/to/error404.jsp 500 /path/to/error500.jsp HTH Jan-Michael - Original Message - From: joe <[EMAIL PROTECTED]> Date: Thursday, January 30, 2003 3:43 am Subject: custmize http error - page not found > hi all! > > is it possible

RE: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-30 Thread mech
I just downloaded the connectors source... (i never thought i would do that...) After having a glimpse at the code I can tell the following: you can set an attribute "compression" to either "on", "off" or "force" I don't know what the class FakeOutputStream in the GZipOutputFilter.java might be

j_security_check problem

2003-01-30 Thread Your Name
We are running Tomcat 4.1... and are trying to get xreporter to run. We have installed everything and when we go to test the login it gives us this error (which is a http 400 error).. type: Status report message: Invalid direct reference to form login page description: The request sent by the c

RE: DBCP Factory

2003-01-30 Thread Marc Logemann
Hi, ohhh i DLed the LE version, of course i thought that LE only means that libs like xml parser are missing, cause they are bundled in jdk1.4. But DBCP is missing too. > Which file did you download ? > tomcat-4.1.18.tar.gz contains > jakarta-tomcat-4.1.18/common/lib/commons-dbcp.jar > and the o

Re: Mod_jk2 config

2003-01-30 Thread Lajos
Hi Reynir - Regarding your second question, I put the location of all my images, css, js files, etc as "/images/*.gif", "/scripts/*.js", "/style/*.css". I create and populate those directories under Apache's DocumentRoot. Only the JSP/servlet URLs are directed to Tomcat. That way, when a JSP o

Re: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-30 Thread Marco Baiguera
from 4.1.19 LE (windows) default server.xml i guess the "compression" parameter could enable gzip compression. setting to "on" has no effect. later i'll try compression="gzip" - To unsubscribe, e-mail: [EMAIL PROTECTED]

Mod_jk2 config

2003-01-30 Thread Reynir Hübner
Hello, Is it possible to set the configuration of urls to be mapped down to tomcat programmatically, when application startsup or something similar to that ? I am also wondering if it's possible to map urls that should not be directed into tomcat. For example I would like all urls that map on

RE: Resources for a Context

2003-01-30 Thread David Keyes
I've implemented my own DirContext, which extends FileDirContext, and allows one to specify any number of directories on the webapp's classpath. The solution works wonderfully, once I hacked around what I think are bugs in Tomcat. It seems that when you specify your own entry for a , Tomcat

RE: Context problem, urgent!

2003-01-30 Thread Turner, John
Just to interject Annie's ant grief is something I experienced many times as well. I spent several days trying to get ant to work, and only managed to do so with wanton application of brute force and reckless disregard for best practices. Can anyone recommend a HOWTO for using ant on the Tom

RE: Tomcat throwing error

2003-01-30 Thread Turner, John
Is your Solaris install patched to the latest fixes? There have been a couple fixes within the last 6-8 months for /dev/random. I'm not saying that's the solution, but this is the first time I have seen this error posted to the list. At the very least, you want a recent release of Sun's "Recomm

RE: Context problem, urgent!

2003-01-30 Thread Barney Hamish
Have you got another XML processor in your class path that's maybe overriding the one that comes shipped with Ant? > -Original Message- > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 3:18 PM > To: 'Tomcat Users List' > Subject: RE: Context proble

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
This is the full error message I got during building: build-main: [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead . [style] java.lang.NoClassDefFoundError: com/kvisco/xsl/XSLProcessor [style] at org.apache.tools.ant.taskdefs.optional.XslpLiaison.(Xsl p

RE: DBCP Factory

2003-01-30 Thread Ralph Einfeldt
Which file did you download ? tomcat-4.1.18.tar.gz contains jakarta-tomcat-4.1.18/common/lib/commons-dbcp.jar and the other jar files that belong to it. > -Original Message- > From: Marc Logemann [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 3:08 PM > To: [EMAIL PROTECTE

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
Yes I set ANT_HOME. Could you tell me where I can find this xml-apis.jar and where I should put it? -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: 30. tammikuuta 2003 15:54 To: Tomcat Users List Subject: RE: Context problem, urgent! Hi, The missing jar is xml-ap

Tomcat throwing error

2003-01-30 Thread Sreedhar, Dantam
Hi, Tomcat is throwing the following error when I tried to install and run the tomcat on SOLARIS machine preinstalled with apache and ssl. But for my project https is not required, http is fine. How can I solve this problem? I am using tomcat - 3.2.1 version. Error: 500 Location: /desearch/search I

Buffer overflow

2003-01-30 Thread Rico Tijsen
Dear all, I've written a little servlet that gets some binairy data from my database and shows it to the user. Basicly an image servlet. Here's some code: // Set the response mime type response.setContentType(uiElement.getType()); // Get outputstream ServletOutputStream output

RE: DBCP Factory

2003-01-30 Thread Roberts, Eric
Hi, common/lib should contain commons-dbcp.jar - that is where the BasicDataSourceFactory is. -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Jänner 2003 15:08 To: [EMAIL PROTECTED] Subject: RE: DBCP Factory Hi, i tried also the factory paramter

RE: Always with my configuration apache ssl + tomcat on redhat 7. 2

2003-01-30 Thread Turner, John
What URL generates a 404? - I don't see a Context in server.xml for your webapp...do you have one, or are you using ROOT? - if Apache and Tomcat are on the same machine, I would change ".host" in workers.properties to "localhost" instead of the domain name. Not sure why, but sometimes that make

RE: DBCP Factory

2003-01-30 Thread Marc Logemann
Hi, i tried also the factory paramter, w/o success, can somebody tell me where the DBCP lib should be? i checked common/lib, but didnt see something. > DBCP is bundled with tomcat, but AFAIK is not the > default factory for javax.sql.DataSource. > According to > http://jakarta.apache.org/tomcat

RE: DBCP Factory

2003-01-30 Thread Ralph Einfeldt
DBCP is bundled with tomcat, but AFAIK is not the default factory for javax.sql.DataSource. According to http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.htm you have to explicitly set the factory: factory org.apache.commons.dbcp.BasicDataSourceFactory (Havn't tried

RE: Always with my configuration apache ssl + tomcat on redhat 7. 2

2003-01-30 Thread Helene Figueiredo
Hello, Ok John, I've make a break, then take a step back and verify all my configuration files methodically. And I'm on a new situation : I have always my page 404 but my "mod_jk.conf" file are different now. I think it's now good because it's look like the example find in your url : http://www.jo

RE: Context problem, urgent!

2003-01-30 Thread Roberts, Eric
Hi, The missing jar is xml-apis.jar which is an Ant distribution jar. Have you set the ANT_HOME environment variable? -Original Message- From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Jänner 2003 14:18 To: 'Tomcat Users List' Subject: RE: Context problem, urg

Re: mod_jk and auto mode

2003-01-30 Thread Mark O'Neil
Yep that was the solution. thank you, -m On Wednesday, January 29, 2003, at 09:43 PM, Filip Hanik wrote: I think it is in your httpd.conf file. look for the ServerName directive, and then there is a UseCanonicalName directive too Filip

DBCP Factory

2003-01-30 Thread Marc Logemann
Hi, i am using 4.18 and i am wondering if its true that DBCP is the default factory for javax.sql.DataSource resource definitions. I read it in the JNDI DataSource tomcat docs. I defined the resource in the server.xml maxActive5 [..] but on lookup it seems tomcat cant find the DBCP object fa

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
Windows NT - Original Message - From: "Ing. Gustavo Edelstein" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 2:27 PM Subject: Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443 > Hi Antonio, > Which is your platform ? > Thanks > >

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
Hi, I am still struggling with ant. After puting the library files manually, I got this error message: BUILD FAILED file:C:/jakarta-tomcat-4.1.18-src/webapps/tomcat-docs/build.xml:82: javax.xml.tr ansform.TransformerFactoryConfigurationError: Provider for javax.xml.transform.T ransformerFactory c

Re: ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Ing. Gustavo Edelstein
Hi Antonio, Which is your platform ? Thanks Ing. Gustavo A. Edelstein Tech. Mgr. Equiplus S.A. www.equiplus.com - Original Message - From: "Antonio Vázquez" <[EMAIL PROTECTED]> To: "Tomcat" <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 7:57 AM Subject: ApacheSSL + Tomcat 4.12 change

RE: tomcat/apache link

2003-01-30 Thread Turner, John
No files were attached. John > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 3:56 AM > To: [EMAIL PROTECTED] > Subject: tomcat/apache link > > > I'm an Oracle DBA and we are using tomcat/apache for development of an > intran

RE: Specifying SMTP port in server.xml

2003-01-30 Thread Turner, John
Which docs? John > -Original Message- > From: Troy J. Kelley [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 10:39 PM > To: [EMAIL PROTECTED] > Subject: Specifying SMTP port in server.xml > > > Hello, > > I've googled and searched the archives... The docs for > tomcat

RE: web.xml servlet and resources

2003-01-30 Thread Daniel Brown
Richard, You could use HttpServletRequest.getPathInfo() to read the extra path information after servlet name, read the corresponding object from disk, set an appropriate MIME type, and then send the object back in the response. But it's a lot of new code for something that doesn't seem like a go

Re: custmize http error - page not found

2003-01-30 Thread Henning Heil
try: 404 /your_custom_404_error_page_here.html in your web.xml file just after the welcome-file-list. --- it's not my configuration, copied that from the list-archieve. please look there before posting here nexttime. rgds, henning joe wrote: hi all! is it possib

Re: web.xml servlet and resources

2003-01-30 Thread Lindomar
Hi Richard, if i didn't understand wrong If you want put a image using relative path, the source of your image must be src="/yourApp/images/logo.gif", for example. Good luck! - Original Message - From: "Richard Wallace" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Janu

Re: web.xml servlet and resources

2003-01-30 Thread Antonio Vázquez
Richard, Usually the servlet are in the WEB_INF directory, and this is forbidden for the users. If you put an image inside web-inf/servlet/images.. you will not be able to retry it. You cannot use the url .../web-inf/images/... Usually you create a image folder at the same level that WEB_INF fold

web.xml servlet and resources

2003-01-30 Thread Richard Wallace
Hello all, This is a fairly simple problem but I haven't been able to find an answer anywhere (I've been looking for the past day or two). I'm hoping this is a common situation and is possible, but from what I've seen I can't see how. What I want is for the resources (images, css files, etc.) to

Re: Invalid TLD resource path

2003-01-30 Thread Mike Johnson
Ah... Lights go on, the jar files work if they're copied, not symlinked. So, that begs the question: is there a "Option FollowSymLinks"? Thanks! On Mon, 2003-01-27 at 23:18, Mike Johnson wrote: > Hello all, > > I'm currently trying to upgrade from working Tomcat 4.0.x installs to > the latest

Re: Filter and RequestDispatcher.forward()

2003-01-30 Thread Tomasz Stanczak
I have noticed that, too, while preparing a WebLogic web application to run on Tomcat. The code of ApplicationDispatcher says: "IMPLEMENTATION NOTE: This implementation assumes that no filters are applied to a forwarded or included resource, because they were already done for the original reques

RE: Context problem, urgent!

2003-01-30 Thread Barney Hamish
It doesn't really matter if it downloads the zipped tar or the zip, they're both pretty much the same and should work on either platform... My guess is your firewall is getting in the way of ant's efforts to download the beanutils. Check in the build script or the instructions where it expects to

Re: what is catalina?..

2003-01-30 Thread Antonio Vázquez
Catalina is the name of the Java class of Tomcat from version 4.0 When you start tomcat, really you are starting catalina class; Antonio, - Original Message - From: Ramkumar Krishnan To: Tomcat Users List Sent: Friday, December 06, 2002 12:35 PM Subject: what is catalina?.. Hi, I am

what is catalina?..

2003-01-30 Thread Ramkumar Krishnan
Hi,     I am a newbie to tomcat and catalina?..what is catalina?..what is the use of it?..   thanks, Ramkumar

custmize http error - page not found

2003-01-30 Thread joe
hi all! is it possible to set a customized http 404 error page? it would be nice to have one in the same look and feel of my application. thanx, joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
OK Now when I run ant in tomcat src dir it doesn't complain. But it was failed with the following message: [echo] download http://jakarta.apache.org/builds/jakarta-commons/release/commons-beanutils/v 1.4.1/commons-beanutils-1.4.1.tar.gz testexist: [echo] Testing for /usr/local/commons-

RE: Context problem, urgent!

2003-01-30 Thread Barney Hamish
It sounds like you're running ant from the wrong directory... Try running Ant from the directory where the Tomcat build.xml is. Hamish > -Original Message- > From: Peng Annie / FINLAND [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:59 AM > To: 'Tomcat Users List' > Subje

RE: about singletons (ot)

2003-01-30 Thread WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1)
Basically yes. Much less code than you normally would think needs to be declared synchronized. Maybe someone can post a link to a good guide to thread synchronization - personally I only can recommend the O'Reilly Java Thread book but that's personal taste(!) How about Concurrent Programming

RE: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-30 Thread mech
What parameter did you set? Nobody seems to know how to activate gzip support for 4.1.19... (Hope you didn't try enableGZIP="true" *g*) Actually that's the question... How to activate this gzip feature? The release-notes say that the coyote connector would support gzip now, but nowhere i found how

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
Hi Bill, Thanks a lot for the instruction. But where shall I put Ant? When I run 5) step in your instruction, it always complain "build.xml doesn't existed!" BR, Annie -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: 30. tammikuuta 2003 11:23 To: [EMAIL PROTECTED] S

ApacheSSL + Tomcat 4.12 change from HTTPS to port 443

2003-01-30 Thread Antonio Vázquez
I configure ApacheSSL + Tomcat 4.12 with mod_jk and all works. If I call a HTTPS page the conexion is secure. If I call to the tomcat example aplication with https://mihost/examples/ I can see the servlets and JSP folder, but when I select servlets, the IE6 says that the conexion will be not secu

Re: Tomcat 4.1.18/19 - How to activate gzip support?

2003-01-30 Thread Marco Baiguera
in 4.1.19 coyote connector tag i tried the "compressione" parameter but seen no results haw can i check if my page is being compressed (client-side)? thanx - Original Message - From: "mech" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Saturday, January 25, 200

RE: Cannot load JDBC driver class 'null'

2003-01-30 Thread Maris Orbidans
yeah, as I thought however it's boring , let's hope it will be changed in future releases. Maris > -Original Message- > From: Cristian Draghici [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 11:07 AM > To: Tomcat Users List > Subject: RE: Cannot load JDBC driver class

Re: Context problem, urgent!

2003-01-30 Thread Bill Barker
Since 13040 is still marked "NEW", I'm afraid so. It's really not as scary as it sounds. The steps are (assuming that jakarta-ant-1.5.x is already installed, and in your PATH): 1) download and un-pack the Tomcat source distribution. 2) download and un-pack the Connector source distribution 3) cd

Sorry

2003-01-30 Thread Keshava Murthy
Hi, By mistake yesterday I have posted a query to this user list instead of turbine . Sorry for the inconvenience. regards, Keshava Murthy. S

RE: Cannot load JDBC driver class 'null'

2003-01-30 Thread Cristian Draghici
yes it will shutdown tomcat and edit the server.xml file by hand. (add the ResourceParams entry under your context) add the necessary entries, start tomcat and the admin console should work. (at least that's what happens with my tomcat 4.1.18) hope this helps, cristi -Original Message- F

Cannot load JDBC driver class 'null'

2003-01-30 Thread Maris Orbidans
hello I have run into that problem too, I defined a datasource and put driver and common/lib and defined in web.xml of my web. app. but if throws exception when I try to get a connection from datasource I have found. I tried to do it at home with different database with the same result, so I

tomcat/apache link

2003-01-30 Thread Laurence . Sigler
I'm an Oracle DBA and we are using tomcat/apache for development of an intranet project. While it all seems pretty straightforward, this is really not my cup of tea and I believe there is something important I'm missing, perhaps with the apache configuration. I've had problems enabling the jk conne

AW: AW: [OT] jspMyAdmin

2003-01-30 Thread Power-Netz \(Schwarz\)
> o.k., I jared the classes dir, where exactly did you put the file and > what was it's name? unimportant, all jars in the spezific dir are loaded/used.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: SOLVED: Re: MySQL Hell (OT)

2003-01-30 Thread Ralph Einfeldt
AFAIK it's the other way round. The mysql driver started as an independent project as org.gjt.mm.mysql.Driver. As this project became part of the mysql project it got repacked to com.mysql.jdbc.Driver. > -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Wednesday,

RE: JSP Compilation Error

2003-01-30 Thread Ralph Einfeldt
That sounds as if there is a servlet.jar found, that is not up to date. (or another jar like j2ee.jar, that contains the class PageContext) Older versions of pageContext.handlePageException() accepted only objects of class Exception as argument, newer version allow objects of class Throwable.

RE: Context problem, urgent!

2003-01-30 Thread Peng Annie / FINLAND
Thanks Bill. It is exactly my problem. It is a bug of TC4.1.12. I noticed that there is fixing solution to the source code. Does it mean that I have to download the source code and modify it and recompile it? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: 30. tammiku

RE: Where Set Tomcat_home and Catalina_home ??

2003-01-30 Thread Galbayar Dorjgotov
JAVA_HOME=C:\j2sdk1.4.1_01 CATALINA_HOME=tomcatdir -Original Message- From: fred [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:21 PM To: Tomcat Users List Subject: Re: Where Set Tomcat_home and Catalina_home ?? Ok thak you, and sorry for the system... I'm on Xp, it is at

<    1   2