RE: catalina.out export to another file

2005-01-06 Thread Julius Davies
Hi, Benoit, You can could try adding code like this to a jsp, and then hitting the jsp with a browser: <% OutputStream os = new FileOutputStream( "/var/log/myNewLogFile.log" ); PrintStream ps = new PrintStream( os ); System.setOut( os ); %> >From that point on you will have taken over "catalina

Re: Handling HEAD request in servlet

2005-01-06 Thread Wade Chandler
Tennessee Leeuwenburg wrote: Glad to find another human! :) From the spec, it looked like there should be a content-length, but maybe you're right. I'm writing a server for a client that expects the content-length to be there. As I said, I did find a workaround by just printing to the output st

Re: Upgrading from 5.0.19 to 5.0.28 with a Service Startup

2005-01-06 Thread Parsons Technical Services
Punched send too fast. What scripts? - Original Message - From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, January 07, 2005 12:29 AM Subject: Upgrading from 5.0.19 to 5.0.28 with a Service Startup I want to upgrade from Tomcat 5.0.19 to 5.0.28. I am using s

Re: Upgrading from 5.0.19 to 5.0.28 with a Service Startup

2005-01-06 Thread Parsons Technical Services
OS? - Original Message - From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, January 07, 2005 12:29 AM Subject: Upgrading from 5.0.19 to 5.0.28 with a Service Startup I want to upgrade from Tomcat 5.0.19 to 5.0.28. I am using script to startup a service. Wher

Re: Enquiry about IIS-TOMCAT redirection

2005-01-06 Thread Parsons Technical Services
http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html Doug - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 9:57 PM Subject: Enquiry about IIS-TOMCAT redirection Hi, In implementing the change, is it possible to exclude some pages (i.e. JSP)

Upgrading from 5.0.19 to 5.0.28 with a Service Startup

2005-01-06 Thread Dakota Jack
I want to upgrade from Tomcat 5.0.19 to 5.0.28. I am using script to startup a service. Where is a good place to lookup what it takes to do this so that I can decide one way or the other. Is it pretty simple with small changes or will I have to rewrite the script, etc.? Thanks for any assistance

issues using Tomcat 3.2.4 with JavaVM jdk 1.4.1?

2005-01-06 Thread Mieke Banderas
Are there any issues I should know about using Tomcat 3.2.4 with JavaVM jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution. Database is MySQL 3, which may change and Web server is Apache 1.3. --

Re: Logging exceptions per webapp in Tomcat 5.5

2005-01-06 Thread Shed Hollaway
Thanks I'll try that! - Original Message - From: "Will Hartung" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, January 06, 2005 5:32 PM Subject: Re: Logging exceptions per webapp in Tomcat 5.5 > > From: "Shed Hollaway" <[EMAIL PROTECTED]> > > Sent: Thursday, January 06, 2005

Re: Handling HEAD request in servlet

2005-01-06 Thread Tennessee Leeuwenburg
Glad to find another human! :) From the spec, it looked like there should be a content-length, but maybe you're right. I'm writing a server for a client that expects the content-length to be there. As I said, I did find a workaround by just printing to the output stream, but it had me baffled fo

Enquiry about IIS-TOMCAT redirection

2005-01-06 Thread Stephen . Chin
Hi, In implementing the change, is it possible to exclude some pages (i.e. JSP) not to route to IIS and route it to tomcat? Many thanks - This transmission and the information it contains including any attachment, is confidential and may be subject to legal privilege.

Re: Serving files from Tomcat...sorta

2005-01-06 Thread Parsons Technical Services
1. Set listings to true in the default web.xml. 2. Place a welcome file in any directory that you do not want to display listings. 3. Set up a realm per this link: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html 4. Deploy an upload app for each user. Define the matching role in t

Re: Handling HEAD request in servlet

2005-01-06 Thread Wade Chandler
Tennessee Leeuwenburg wrote: Hi guys, I have a problem where the default implementation of HttpServlet doesn't seem to be handling doHead(request, response) properly. I over-rode the method, and found the damndest thing happening. The line "response.setContentLength(length)" is just getting comp

Re: solved: timeout when reading 401 response [was: persistent HTTP1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Wade Chandler
Garret Wilson wrote: Wade Chandler wrote: Actually what is happening is this You are using a buffered stream. It is reading past the amount returnedand then the tcp/ip socket is blocking because you have it open as a keep alive. You have to only read the number of bytes available and

Re: Logging exceptions per webapp in Tomcat 5.5

2005-01-06 Thread Will Hartung
> From: "Shed Hollaway" <[EMAIL PROTECTED]> > Sent: Thursday, January 06, 2005 6:59 PM > Svein > > Did you ever get an answer to you question? If so, how separate the logging > for webapps? The exceptions will log out to your log file if you actually bother to capture the exceptions and log them.

Re: Serving files from Tomcat...sorta

2005-01-06 Thread Will Hartung
> From: "Mark Thomas" <[EMAIL PROTECTED]> > Sent: Thursday, January 06, 2005 3:57 PM > Have you looked at using webDAV? Tomcat has a basic implementation or > there is the slide project. Yes, I thought of that immediately too, but too complicated to potentially configure over the phone with a ran

Handling HEAD request in servlet

2005-01-06 Thread Tennessee Leeuwenburg
Hi guys, I have a problem where the default implementation of HttpServlet doesn't seem to be handling doHead(request, response) properly. I over-rode the method, and found the damndest thing happening. The line "response.setContentLength(length)" is just getting completely ignored. I can't work

Re: catalina.out export to another file

2005-01-06 Thread Mark Thomas
Please: - Don't post messages multiple times. It is more likely to decrease rather than increase your chances of receiving an answer to your question. - Don't hi-jack another thread. Clicking reply and changing the subject line is NOT the right way to post a message on a new topic as it confuse

Re: Serving files from Tomcat...sorta

2005-01-06 Thread Mark Thomas
Have you looked at using webDAV? Tomcat has a basic implementation or there is the slide project. Mark Will Hartung wrote: Simply put, we have a system where folks are able to upload files into an 'incoming' directory, and download any of their files from any place below their home directory. We

catalina.out export to another file

2005-01-06 Thread Benoit - Althosting.fr
Hi, Sorry, I post this message again, I have no answer and I really need help :( I'm trying to redirect catalina logs to another file (montest_access_log.txt) but catalina out is not redirect in my file (steal in catalina.out) That's my configuration in server.xml for the host : Does

Re: Logging exceptions per webapp in Tomcat 5.5

2005-01-06 Thread Shed Hollaway
Svein Did you ever get an answer to you question? If so, how separate the logging for webapps? Shed. - Original Message - From: "Svein Olav Bjerkeset" <[EMAIL PROTECTED]> To: Sent: Monday, January 03, 2005 12:12 AM Subject: Logging exceptions per webapp in Tomcat 5.5 > After having rea

Serving files from Tomcat...sorta

2005-01-06 Thread Will Hartung
Simply put, we have a system where folks are able to upload files into an 'incoming' directory, and download any of their files from any place below their home directory. We want to expose this through the web using HTTPS. Couple of things I'd like to do here. a) Authenticate the users against t

How do to manage static content?

2005-01-06 Thread Troy Simpson
I have the following configuration: Apache2 2.0.52 Tomcat 5.0.28 mod_jk 1.2.8 I have this directive in my httpd.conf file. JkMount /jsp-examples/* ajp13w 1. Does this mean that the worker ajp13w will process all content, including static content? 2. Or is the static content being processed by t

RE: apache2 tomcat5 jk2 questions

2005-01-06 Thread Subir Sengupta
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/news/20041100.html#2 0041115.1 -Original Message- From: Casas, Claudia [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 12:49 PM To: Tomcat Users List Subject: RE: apache2 tomcat5 jk2 questions No way! I just got my server co

Re: Can anyone see this message?

2005-01-06 Thread Larry Meadors
No. >>> [EMAIL PROTECTED] 01/06/05 4:02 PM >>> Thanks, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Can anyone see this message?

2005-01-06 Thread David Short
yes -Original Message- From: Troy Simpson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 3:02 PM To: tomcat Subject: Can anyone see this message? Thanks, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Can anyone see this message?

2005-01-06 Thread Caldarale, Charles R
> From: Troy Simpson [mailto:[EMAIL PROTECTED] > Subject: Can anyone see this message? Yes. - Chuck - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can anyone see this message?

2005-01-06 Thread Troy Simpson
Thanks, Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Testing....

2005-01-06 Thread Troy Simpson
Disregard this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: solved: timeout when reading 401 response [was: persistent HTTP 1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Garret Wilson
Wade Chandler wrote: Actually what is happening is this You are using a buffered stream. It is reading past the amount returnedand then the tcp/ip socket is blocking because you have it open as a keep alive. You have to only read the number of bytes available and not keep trying to sq

Re: timeout when reading 401 response [was: persistent HTTP 1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Wade Chandler
Wade Chandler wrote: Wade Chandler wrote: Garret Wilson wrote: So this is getting stranger. Just to preclude any error on my part, I did a simple loop that output every character received from the response. The HTTP response status line and headers come down fine, including the CRLF that separat

Example config file for clustering with Tomcat 5.5.4

2005-01-06 Thread Gary Zhu
Hi All, I am trying to set up several instances of Tomcat(5.5.4) and load balance them using JK connector. And I have read through all the docs on Tomcat loading balancing and clustering. Now I am having difficulty moving forward as I don't see any configuaration/setup examples anywhere. I did g

Re: timeout when reading 401 response [was: persistent HTTP 1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Wade Chandler
Wade Chandler wrote: Garret Wilson wrote: So this is getting stranger. Just to preclude any error on my part, I did a simple loop that output every character received from the response. The HTTP response status line and headers come down fine, including the CRLF that separates the headers from t

Re: timeout when reading 401 response [was: persistent HTTP 1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Wade Chandler
Garret Wilson wrote: So this is getting stranger. Just to preclude any error on my part, I did a simple loop that output every character received from the response. The HTTP response status line and headers come down fine, including the CRLF that separates the headers from the body. And then---t

Re: timeout when reading 401 response [was: persistent HTTP 1.1 connections with Tomcat 5.5.4?]

2005-01-06 Thread Garret Wilson
So this is getting stranger. Just to preclude any error on my part, I did a simple loop that output every character received from the response. The HTTP response status line and headers come down fine, including the CRLF that separates the headers from the body. And then---timeout after 15 secon

RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread Mike Jackson
Either don't read so large a file into memory (ie read chunks and process them rather than the entire file) or increase the memory that Tomcat can use. You can increase the memory allowed to the VM using the -X arguements (java -X for help). The one you'll want is going to be -Xmx###M where the #

RE: [OT] Does anyone know this boy?

2005-01-06 Thread Jan Behrens
Yes, it was him. Thanks for the info! > -Original Message- > From: Richey, Ross [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 10:12 PM > To: Tomcat Users List > Subject: RE: [OT] Does anyone know this boy? > > > http://www.snopes.com/inboxer/children/hannes.asp > > -

java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread kjiang
Hi When tomcat (version 4.1.30) read in a large file, java.lang.OutOfMemoryError occurred, what can I do for this issue. Thanks Kelvin jiang

Code Modification for INVOKEVIRTUALOBJECT

2005-01-06 Thread Sandy McArthur
In our production tomcat cluster sometimes a JVM will seemingly spontaneously terminate with only producing this error output: - Code Modification for INVOKEVIRTUALOBJECT java/lang/Object/clone The exit code of the java process is 255. We're running the IBM 1.4.2 JVM on x86 linux. Any help f

RE: [OT] Does anyone know this boy?

2005-01-06 Thread Richey, Ross
http://www.snopes.com/inboxer/children/hannes.asp -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:36 PM To: Tomcat Users List Subject: Re: [OT] Does anyone know this boy? Jan Behrens wrote: > Sorry, > > they were included in my origin

OutMemoryTomcat 4.1.30

2005-01-06 Thread kjiang
Hi When tomcat (version 4.1.30) read in a large file, java.lang.OutOfMemoryError occurred, what can I do for this issue. Thanks Kelvin jiang

Re: [OT] Does anyone know this boy?

2005-01-06 Thread Garret Wilson
If you're talking about this boy: http://www.virtualtourist.com/f/p/1e331/ http://analiticamenteincorrecto.blogspot.com/ His family has already been found: http://www.phuket-inter-hospital.co.th/siriroj.html Garret Jan Behrens wrote: Hi list, I know this is OT but I do believe that everyone out the

RE: apache2 tomcat5 jk2 questions

2005-01-06 Thread Casas, Claudia
No way! I just got my server completely working on jk2! Does anybody have any links or resources that talk about this. If this is really a big issue, I will definitely move back to jk -Original Message- From: j r [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 6:30 PM To: Tom

Re: [OT] Does anyone know this boy?

2005-01-06 Thread Wade Chandler
Jan Behrens wrote: Sorry, they were included in my original mail, looks like the list server deletes all attachments :( I have enclosed them again - this time packed in a single zip-file. Hopefully they pass now... Cheers, Jan -Original Message- From: Rhino [mailto:[EMAIL PROTECTED] Sent:

RE: [OT] Does anyone know this boy?

2005-01-06 Thread Jan Behrens
Sorry, they were included in my original mail, looks like the list server deletes all attachments :( I have enclosed them again - this time packed in a single zip-file. Hopefully they pass now... Cheers, Jan > -Original Message- > From: Rhino [mailto:[EMAIL PROTECTED] > Sent: Thursday,

Re: timeout when reading 401 response [was: persistent HTTP 1.1 connections with Tomcat 5.5.4?]

2005-01-06 Thread Garret Wilson
It looks like the timeout is occurring when the first response is being read, so this changes the problem. I'm receiving a 401 Unauthorized response with the following headers: Server: Apache-Coyote/1.1 WWW-Authenticate: [...] Content-Type: text/html;charset=utf-8 Content-Length: 952 Date: Thu, 0

workers2.properties

2005-01-06 Thread Troy Simpson
How does Apache2 find the workers.properties file? According to page 245 of "Professional Apache Tomcat 5", it says: "These settings provide detailed information about the configuration setup to Apache2, including the location of the workers2.properties file and the debuggin level of the config c

org.apache.coyote.tomcat5.CoyoteConnector?

2005-01-06 Thread Troy Simpson
This is my default server.xml configuration file for tomcat 5.0.28. - factory org.apache.catalina.users.MemoryUserDatabaseFactory pathname conf/tomcat-users.xml

Re: [OT] Does anyone know this boy?

2005-01-06 Thread Rhino
Do you have a picture of this boy? That would help *enormously*; all you have now is the fact that he is two years old and an inference that he is not a Thai. Rhino - Original Message - From: "Jan Behrens" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" Sent: Thursday, January 06, 2005 1:

RESOLVED: Tomcat To Oracle Connection [ RE: Oracle 9i client connection to 8i database]

2005-01-06 Thread Brad Rhoads
Using this connection string does the trick:jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)))(HOST=host)(PORT=port)(CONNECT_DATA=(SERVICE_NAME=sid)(SERVER=DEDICATED)))I was missing the SERVER=DEDICATED before.Note that this solved my problem even though we are not using M

Re: No response from Tomcat 5 when browser sends signed cookie

2005-01-06 Thread Leonard Sitongia
On Jan 6, 2005, at 12:07 PM, Wade Chandler wrote: I don't know the answer...figured I would try to give you help in thinking about the issue. Thanks! That was just the kind of thinking I was hoping to hear. If not an answer, then it sure helps to get ideas of other ways of experimenting. ==L

Re: No response from Tomcat 5 when browser sends signed cookie

2005-01-06 Thread Leonard Sitongia
On Jan 6, 2005, at 11:03 AM, Leonard Sitongia wrote: Looks like this is not related the the secure nature (digitally signed) of the cookie, but the size. A cookie over about 3k will trigger this problem. Resolved this by increasing the bufferSize and maxHttpHeaderSize in the Tomcat configurati

Re: No response from Tomcat 5 when browser sends signed cookie

2005-01-06 Thread Wade Chandler
Leonard Sitongia wrote: More information: Looks like this is not related the the secure nature (digitally signed) of the cookie, but the size. A cookie over about 3k will trigger this problem. Also, it looks like Tomcat doesn't receive the request, so the problem may be in SSL. It is hard to

[OT] Does anyone know this boy?

2005-01-06 Thread Jan Behrens
Hi list, I know this is OT but I do believe that everyone out there should take the time to read this, if one does know him it will be worth more than all email in the world... Cheers, Jan > PLEASE DO FOWARD TO YOUR INTERNATIONAL OPERATORS AND > CONTACTS > > HE MUST HAVE BOUGHT IS TRIP IN SOME

persistent HTTP 1.1 connections with Tomcat 5.5.4?

2005-01-06 Thread Garret Wilson
Does Tomcat 5.5.4 support HTTP 1.1 persistent connections? I'm connecting to a Tomcat servlet from a custom Java client, and the first request/response goes fine: socketAddress=new InetSocketAddress(host, port); channel=SocketChannel.open(socketAddress); inputStream=new BufferedInputStream(newInp

Re: No response from Tomcat 5 when browser sends signed cookie

2005-01-06 Thread Leonard Sitongia
More information: Looks like this is not related the the secure nature (digitally signed) of the cookie, but the size. A cookie over about 3k will trigger this problem. Also, it looks like Tomcat doesn't receive the request, so the problem may be in SSL. It is hard to tell, since it seems lik

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-06 Thread Dennis Lundberg
On another note, I've stumbled upon a few errors in the connectors documentation after doing some serious reading to understand all this. How to I go about contributing patches? Should I open an issue in buzilla for the product "Tomcat5" and add patches to that? [1]http://cvs.apache.org/viewcvs

RE: [OT]web development fee

2005-01-06 Thread George Sexton
I've got a package I plan on releasing under a BSD license. It needs some work, but it's pretty close. The only remaining major task is to port the reports from an old proprietary reporting application to Datavision. If you want to see a sample, go to: http://www.stargateschool.org/sgstore/ The

Re: Tomcate 4.1.27 as a Service - Follow up to OOM problem

2005-01-06 Thread David Boyer
If the path contains spaces you could try enclosing it in double quotes: @SET TOMCAT_HOME=C:\Program Files\Tomcat4 >>>[EMAIL PROTECTED] 01/06 9:38 am >>> Hi again all I found the following when trying to find out how to REinstall tomcat as a service and to add options like the -Xmx512M what I

RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread Allistair Crossley
check out bin/service.bat --JvmOptions you will need to uninstall the service first and then reinstall it with the edited service.bat. Allistair. > -Original Message- > From: David Johnson [mailto:[EMAIL PROTECTED] > Sent: 06 January 2005 15:40 > To: Tomcat Users List > Subject: Re: Out

Re: [OT]web development fee

2005-01-06 Thread Didier McGillis
There is the java pet shop project, which someone eluded to, there are offshoots of that project with a good deal of optimization done, and update done to the code, there is a free version and another one that is minimal charge of $199. https://betterpetshop.dev.java.net/ another offshoot http:

Re: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread David Johnson
Cool. Thanks the question is how do I get all of these options working when tomcat runs as a service... On Thu, 6 Jan 2005 15:28:30 -, Dale, Matt <[EMAIL PROTECTED]> wrote: > It could also be that the Permanent Generation has filled up, look up the > docs on how to increase that or start

Tomcate 4.1.27 as a Service - Follow up to OOM problem

2005-01-06 Thread David Johnson
Hi again all I found the following when trying to find out how to REinstall tomcat as a service and to add options like the -Xmx512M what I need The batch file hates the fact that my Tomcat is located in "c:\Program Files" Any thoughts on how to get this to run? Thanks, Dave # installServi

RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread Dale, Matt
It could also be that the Permanent Generation has filled up, look up the docs on how to increase that or start with -XX:MaxPermSize=128M -Original Message- From: SANTOS, DANIEL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 14:57 To: Tomcat Users List; [EMAIL PROTECTED] Subject:

RE: Hiding the context URL in Apache with mod_jk

2005-01-06 Thread Mike Curwen
or... keep deploying it to webapps/examples. Just configure that particular app as the default app for each host. We do this successfully for TC4.1, jk, apache2.x eg: www.cypher.gb.com cypher ... etc www.morpheus

RE: OracleDataSourceFactory

2005-01-06 Thread Phillip Qin
If all you need is OracleConnection, BasicDataSourceFactory shall be sufficient. The connection you obtain is a wrapper of OracleConnection. If you do need OracleDataSourceFactory, you will have to implement something else I couldn't remember (Damn, is it JNDI?) -Original Message- From: D

RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread SANTOS, DANIEL \(SBCSI\)
Chachany, It sounds like it's using the default of -Xmx64m. Probably the best way to troubleshoot out or memory errors is to see what is really happening with garbage collecting, the same way that you tune it. If you can add these options, then the JVM will spit out all kinds of useful informati

RE: jndi error configuring data source

2005-01-06 Thread Phillip Qin
Drop off mysql jdbc driver to tomcat common/lib -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: January 5, 2005 5:02 PM To: tomcat-user@jakarta.apache.org Subject: jndi error configuring data source I am trying to configure database pooling in Tomcat 4.1.31. I f

RE: Connection Pooling with Tomcat 4.1 and SQL Server 2000

2005-01-06 Thread Johnson, Jay
I can connect using my current driver without connection pooling. You may be correct; the driver may not support it. I'm using Microsoft's standard type 4 driver. I'll try using Tomcat 5 also and see if it makes a difference. I'll also see if I can find another driver. Thanks for help! ---

Re: After JDBCRealm Authentication some jsp/servlet to be executed

2005-01-06 Thread Chirag
Trying to implement a javax.servlet.Filter It has a method which is public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletException But I want to access the se

RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread Allistair Crossley
is tomcat restarting the web application when you compile these jsps? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 06 January 2005 14:25 > To: tomcat-user@jakarta.apache.org > Subject: Out of Memory when compiling JSP (Struts app on > Tomcat 4.1.27) >

Re: [FIXED] Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-06 Thread Thomas Tinnes
Hello, Just a brief epilog. Yes, Mladen, that's exactly what I had to do, in the end. I was trying to stay within the client's framework of crumbling, elderly programs and not take apps forward (in version), but in the end it proved impossible. It took four hours to compile the elderly Apache w

Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)

2005-01-06 Thread chachany
Hi all I'm working on an application currently that is experiencing some intermittent memory problems when installed onto our "integration test" server, but not on the development staff's local laptops. I have attempted to increase the maximum memory available to Tomcat by creating a global envir

дºËÍ´óÀñ£¬Ïí·­Òë·þÎñµÃ10%¾ªÏ²»ØÀ¡

2005-01-06 Thread ²ÜÕæ
您好!不管您何时有翻译方面的需求,请拨打13126577889(北京),我们将为您提供最好的服务! 我们公司的业务范围是各种语种的笔译、口译、商务陪同谈判、同传、网站软件本地化等,并可以根据您的预算要求为您量身定做翻译项目。 最重要的是--为了达成长期友好的合作目标,我们将返您10%的回扣作为您对我们事业帮助的真情报答! [EMAIL PROTECTED] ([EMAIL PROTECTED] [EMAIL PROTECTED]),获得免费咨询报价! --

Re: After JDBCRealm Authentication some jsp/servlet to be executed

2005-01-06 Thread Chirag
Thanks for Pointing me in right direction Is there any tutorial for implementing ServletFilter on Tomcat Version 5.5 As I could not find any commented entry in the web.xml File for ServletFilter As I have read that the xmls are changed a lot Thanks in advance CSJakharia QM <[EMAIL PR

Tomcat arbitrarily freezes

2005-01-06 Thread Oliver Schoenwald
Hello, we are using Tomcat 5.0.27 to provide the eLearning environment of our University. Our system configuration is as follows: SUN Fire 240 with 2 cpus at 1.28 GHz (Sparc-3) 8 GB RAM Solaris 9 (with actual patches) All requests are handled via Apache 2.0.52 with mod_ssl and using mod_jk2. The

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-06 Thread Mladen Turk
Dennis Lundberg wrote: Yes. JkMount /examples3/* yourworker Then: JkUnMount /examples3/*.jpg yourworker ... JkUnMount /examples3/*.xxx yourworker But that's not the very wise solution. You obviously wish to Apache serve your static content (e.g. images), while Tomcat serving the dynamic content. So

Re: Connection Pooling with Tomcat 4.1 and SQL Server 2000

2005-01-06 Thread Friedrich Gonzalez
Everything you did with the driver,server.xml,web.xml is ok. But it sounds like your driver of sql server 2000 doesnt support connection pooling ... did you tried to connect without the connection pool? i also recommend going to tomcat 5... i had a couple of issues with connection pooling in tomc

RE: How to combine normal servlets and struts inside Tomcat application

2005-01-06 Thread Allistair Crossley
This will work fine. You can still define normal servlets and struts actions in the same web.xml. Remember that Struts only handles servlets that match a mapping, typically like *.do whilst your other servlets will have their own mapping. They can all co-exist happily. Allistair. > -Orig

Re: [mod_jk] Unable to get directory listings from Apache httpd 2 for versions 1.2.5 and above

2005-01-06 Thread Dennis Lundberg
Mladen Turk wrote: Dennis Lundberg wrote: /www/ /htdocs/ /examples1/ /examples2/index.html /examples3/index.jsp /WEB-INF/web.xml /webapps/ /webapp1/index.jsp /webapp2/index.jsp Now httpd is set up like this: DocumentRoot "/

Re: After JDBCRealm Authentication some jsp/servlet to be executed

2005-01-06 Thread QM
On Wed, Jan 05, 2005 at 09:07:19PM -0800, Chirag wrote: : After the user Logins in the Server through JDBCRealm Authentication I want to store the user Details in the session : : I know there is something called request.getUserPrincipal().getName() : But i need to store the whole companydetails i

Re: How to combine normal servlets and struts inside Tomcat application

2005-01-06 Thread QM
On Wed, Jan 05, 2005 at 07:36:16PM -0800, Manisha Sathe wrote: : I have 2 sets of programms running on Tomcat 5.0 : 1)one set is using normal servlet program architecture.2)another is using struts technology. This together makes whole application. Eventually the whole application will be in str

catalina log - redirect

2005-01-06 Thread Benoit - Althosting.fr
Hi, I'm trying to redirect catalina logs to another file (montest_access_log.txt) but catalina out is not redirect in my file (steal in catalina.out) That's my configuration in server.xml for the host : Does anybody know anything about this ? I tried to make the change but unfortynate

RE: jndi error configuring data source

2005-01-06 Thread Roberto Rios
Hi, Put the JDBC jar in [TOMCAT]/common/lib Do not place it inside your own application lib folder Bob -Mensagem original- De: Scott Purcell [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 5 de janeiro de 2005 20:02 Para: tomcat-user@jakarta.apache.org Assunto: jndi error configuri

Re: TC Drops bytes when client uses Chunked Encoding AND specifying Content-Length at the same time.

2005-01-06 Thread Jon Wingfield
Section 4.4 of rfc2616 (HTTP1.1 spec) has rules for message-length processing. Rules 2 and 3 seem most pertinent. 2.If a Transfer-Encoding header field (section 14.41) is present and has any value other than "identity", then the transfer-length is defined by use of the "chunked" transfe

Re: Hiding the context URL in Apache with mod_jk

2005-01-06 Thread Mladen Turk
David Nillesen wrote: On Thu, 2005-01-06 at 08:58 +0100, Mladen Turk wrote: ie; instead of deploying my app to ".../webapps/someapp" deploy it to ".../webapps" directly. Use the webapps/ROOT. Mladen. - To unsubscribe, e-mail: [EMAI

Re: [FIXED] Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error

2005-01-06 Thread Mladen Turk
Thomas Tinnes wrote: Hello, Just a follow up to let you know how this got resolved. First, thanks to all my respondents. It all helped. I tried using ./buildconf.sh, but got the same result. The Rosetta Stone came from Mladden when it was pointed out that the second value of -DHAVE_APR hadn't a "-I

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-06 Thread Bedrijven.nl
Hi, I am using SQL server as well and is very very fast. How? We use a connection pooling jar (commercial, not that much) called JSQLConnect. How I implement this? I create an class Connectionpool where I make the connection etc. In each class I do this: static private ConnectionPool poolinstanc

Re: Hiding the context URL in Apache with mod_jk

2005-01-06 Thread David Nillesen
On Thu, 2005-01-06 at 08:58 +0100, Mladen Turk wrote: > David Nillesen wrote: > > JkMount /examples/*.jsp ajp13 > > > > This means that the URL in a client is > > http://purple.example.com/examples/index.jsp > > > > I'd actually like to map that into the URL: > > http://purple.example.com/index.j

InetAddress.getLocalHost.getHostName() and crashes

2005-01-06 Thread Britta Koch
Hi! My web application runs on resin 2.1.10 with a JDK1.5 and call InetAddress.getLocalHost.getHostName() repeatedly. Disregarding the fact that this may not be clever, it has worked for quite some time. When I ported this application to tomcat (5.0.28), I get ugly crashes, killing the web server