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
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
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
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
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)
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
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.
--
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
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
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.
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
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
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
> 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.
> 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
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
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
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
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
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
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
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
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
No.
>>> [EMAIL PROTECTED] 01/06/05 4:02 PM >>>
Thanks,
Troy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
> 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]
Thanks,
Troy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Disregard this message.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
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
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
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
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 #
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
>
> -
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
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
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
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
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
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
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:
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,
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
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
This is my default server.xml configuration file for tomcat 5.0.28.
-
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
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:
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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:
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
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
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
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
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!
---
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
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)
>
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
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
您好!不管您何时有翻译方面的需求,请拨打13126577889(北京),我们将为您提供最好的服务!
我们公司的业务范围是各种语种的笔译、口译、商务陪同谈判、同传、网站软件本地化等,并可以根据您的预算要求为您量身定做翻译项目。
最重要的是--为了达成长期友好的合作目标,我们将返您10%的回扣作为您对我们事业帮助的真情报答!
[EMAIL PROTECTED] ([EMAIL PROTECTED]
[EMAIL PROTECTED]),获得免费咨询报价!
--
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
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
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
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
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
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 "/
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
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
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
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
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
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
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
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
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
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
89 matches
Mail list logo