On Wed, Sep 10, 2008 at 7:55 PM, Steve Ochani <[EMAIL PROTECTED]> wrote:
> Hmm odd.
>
> I tried it on my Redhat test server and worked fine also.
>
> Is your tomcat 6 install a default/fresh install?
>
> What browser are you using? What character encoding does it think the
> HelloWorldExample
> ou
- Original Message -
From: "Gorav Chhabra" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, September 11, 2008 6:25 AM
Subject: Re: Reading Tomcat source code
Hello all,
I am very new to this TOMCAT...
Can anyone please guide from where i can download the Source code and
> From: Gorav Chhabra [mailto:[EMAIL PROTECTED]
> Subject: Re: Reading Tomcat source code
>
> Can anyone please guide from where i can download the Source code
The link to the downloads for each supported Tomcat version are on the left
side of the Tomcat home page:
http://tomcat.apache.org
This
Hi Gorav
Tomcat's homepage
you can find the source download link.
for example:http://tomcat.apache.org/download-60.cgi
you can read the source code on the any IDE, for example Eclipse, ..
good luck.
On Thu, Sep 11, 2008 at 1:25 PM, Gorav Chhabra <[EMAIL PROTECTED]> wrote:
> Hello all,
> I am ver
Hello all,
I am very new to this TOMCAT...
Can anyone please guide from where i can download the Source code and in
which IDE i can configure to see the code..
Thanks
Gorav
On Thu, Sep 11, 2008 at 9:37 AM, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
> - Original Message - From: "Pierre Goup
- Original Message -
From: "Pierre Goupil" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, September 10, 2008 4:07 PM
Subject: Reading Tomcat source code
Hello all,
As an exercise, I would like to start reading Tomcat 6 source code. Lots
of
things to learn there, I g
> From: Brendan Martens [mailto:[EMAIL PROTECTED]
> Subject: Re: html entities and urls with spaces
>
> Hmmm, not sure this is the issue, both filesystems can read and write
> files with spaces.
It's certainly not the issue - spaces in file names work fine on my Windows box
with Tomcat.
> I real
"Pierre Goupil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
>
> As an exercise, I would like to start reading Tomcat 6 source code. Lots
> of
> things to learn there, I guess ! But I don't know where to start. An idea,
> anyone ?
>
Really depends on what interests y
most file systems cant read spaces in a filename so you should put
in _ where you see spaces
Hmmm, not sure this is the issue, both filesystems can read and write
files with spaces.
should be renamed to
$CATALINA_HOME/webapps/pdfApp/pdf_file_on_filesystem.pdf
I really need to figure ou
> From: Brian Clark [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat logging properties
>
> Yep, read through that, but it didn't tell me what those
> directives actually mean. Anyone have anything else?
They specify logging levels for those specific classes, overriding any more
generic settings.
These are examples for changing the logging level on a sample of Tomcat
internal components (which generally use the class name as the category).
Not really useful unless you're trying to track down a bug in Tomcat itself.
"Brian Clark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED
does "fails to display." mean 404 or do you get a file to download and
fail to render it on the client side(browser)?
Means it 404s.
for the 404 make sure the files are located there where tomcat/your
app looks for them
They are indeed where it's looking for them. When I change the name of
"kazukin6" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Plz Help !!
> Is it possible to disable all java code execution within jsp page (by
> security manager or something)
> but allow custom tags to be executed?
There isn't anything that can't be worked around. But putting:
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: RE: JVM per Context
>
> If your goal is to run TC with different JVMs have you looked
> at using each JBM to run embedded Tomcat
This has nothing to do with running an embedded Tomcat. Please don't add
confusion to this issue.
- Chuck
Yep, read through that, but it didn't tell me what those directives actually
mean. Anyone have anything else?
- Original Message
From: Yassine <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Wednesday, September 10, 2008 8:17:01 PM
Subject: Re: Tomcat logging properties
have a look h
Hi
does "fails to display." mean 404 or do you get a file to download and
fail to render it on the client side(browser)?
for the 404 make sure the files are located there where tomcat/your
app looks for them
for the second case check the http header sent with the pdf file.
Cheers
Yassine
On Wed
have a look here if you still need more info
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
On Thu, Sep 11, 2008 at 2:10 AM, Brian Clark <[EMAIL PROTECTED]> wrote:
> At the bottom of my Tomcat 6.0.16 logging.properties file, I have the
> following entries:
> #org.apache.catalina.startup.Co
agreed
spring folks also suggest placing your jsps under web-inf
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature
Mike
If your goal is to run TC with different JVMs have you looked at using each JBM
to run embedded Tomcat
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html?page=1
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail a
At the bottom of my Tomcat 6.0.16 logging.properties file, I have the following
entries:
#org.apache.catalina.startup.ContextConfig.level = FINE
#org.apache.catalina.startup.HostConfig.level = FINE
#org.apache.catalina.session.ManagerBase.level = FINE
#org.apache.catalina.core.AprLifecycleListener
Michael Dehmlow wrote:
> Thanks, my version of tomcat 5.5.26. My mistake I was looking at tomcat 3.3
> documentation:
> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html
> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html .
>
> Yes defining contexts in the Server.xml
> my question is: how should a I handle the nested double quotes in the
> pattern attribute? How should i escape them?
" or "
See "4.6 Predefined Entities" in XML Spec for details,
http://www.w3.org/TR/2006/REC-xml-20060816/#sec-predefined-ent
2008/9/11 Jonathan Mast <[EMAIL PROTECTED]>:
> Hi,
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Lars 'Levia' Wesselius
> Subject: Re: Problem with Apache, Tomcat, mod_jk
>
> http://mirroredescape.net/manager/
> Tomcat 404 error.
You appear to have ignored what you were previously told: that's an invalid
URL and it should re
2008/9/10 Rainer Jung <[EMAIL PROTECTED]>
> Lars 'Levia' Wesselius schrieb:
> > 2008/9/10 Rainer Jung <[EMAIL PROTECTED]>
> >
> >> Lars 'Levia' Wesselius schrieb:
> >>> 2008/9/10 Steve Ochani <[EMAIL PROTECTED]>
> >>>
> Send reply to: Tomcat Users List
> Date sent: Wed, 10 Sep 200
Thanks for the info, Rainer. So will it change my life? :)
On Wed, Sep 10, 2008 at 4:31 PM, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Nicholas Schuetz schrieb:
>> I am trying to compile APR native library for Tomcat. When I run the
>> configure I get messages like this:
>>
>> # ./configure --prefix
Hello,
I am having some issues with tomcat not displaying pages or files with
spaces in them, it simply 404s. Something like this:
pdf file on filesystem.pdf
being accessed at:
http://server/pdf%20file%20on%20filesystem.pdf
fails to display.
I am migrating this site from an older RHEL ser
Nicholas Schuetz schrieb:
> I am trying to compile APR native library for Tomcat. When I run the
> configure I get messages like this:
>
> # ./configure --prefix=/opt/tomcat/apr-connector
> --with-apr=/usr/bin/apr-1-config --with-ssl=/usr
> checking build system type... i686-pc-linux-gnu
> checkin
Lars 'Levia' Wesselius schrieb:
> 2008/9/10 Rainer Jung <[EMAIL PROTECTED]>
>
>> Lars 'Levia' Wesselius schrieb:
>>> 2008/9/10 Steve Ochani <[EMAIL PROTECTED]>
>>>
Send reply to: Tomcat Users List
Date sent: Wed, 10 Sep 2008 19:17:24 +0200
From: Lars 'Levia' Wesselius <[EMA
kazukin6 wrote:
> Is it possible to disable all java code execution within jsp page (by
> security manager or something)
> but allow custom tags to be executed?
>
> The problem is that the users can change jsp files, and due to security
> reasons we can allow them to use only tags
Unfortunately
Hi, I was wondering what the exact syntax for specifying a custom access log
pattern in the server.xml is.
Here is a snippet from which contains my custom format:
my question is: how should a I handle the nested double quotes in the
pattern attribute? How should i escape them?
I am trying to compile APR native library for Tomcat. When I run the
configure I get messages like this:
# ./configure --prefix=/opt/tomcat/apr-connector
--with-apr=/usr/bin/apr-1-config --with-ssl=/usr
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
2008/9/10 Rainer Jung <[EMAIL PROTECTED]>
> Lars 'Levia' Wesselius schrieb:
> > 2008/9/10 Steve Ochani <[EMAIL PROTECTED]>
> >
> >> Send reply to: Tomcat Users List
> >> Date sent: Wed, 10 Sep 2008 19:17:24 +0200
> >> From: Lars 'Levia' Wesselius <[EMAIL PROTECTED]>
> >> To: users@tom
Steve,
Can someone point me to where I can read how to prevent/redirect
access to a particular file in the Tomcat/webapp context.
Specifically, all of my directories have the OS X DS_Store file.
I would like to redirect users to an error page when this file is
directly accessed.
In
Argh, I feel so stupid. Thank you for bonking me on the head. Feel free to
bonk harder next time.
Thanks!
George
On 9/9/08 5:53 PM, "Bill Barker" <[EMAIL PROTECTED]> wrote:
Your facade has to extend (Http)ServletRequestWrapper from the standard
servlet-api. According to the spec, that is
Lars 'Levia' Wesselius schrieb:
> 2008/9/10 Steve Ochani <[EMAIL PROTECTED]>
>
>> Send reply to: Tomcat Users List
>> Date sent: Wed, 10 Sep 2008 19:17:24 +0200
>> From: Lars 'Levia' Wesselius <[EMAIL PROTECTED]>
>> To: users@tomcat.apache.org
>> Subject:Problem with Apache, T
Thanks, my version of tomcat 5.5.26. My mistake I was looking at tomcat 3.3
documentation:
http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html
http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html .
Yes defining contexts in the Server.xml is discouraged but I'm doing it
an
I'm having an issue with the single sign on valve under tomcat 6. I
have 2 webapps and if a user logs in under app A but then only uses
app B, they get logged out after 30 minutes. The session timing out
in app A removes the login information across all webapps. Does
anyone have any idea why thi
2008/9/10 Steve Ochani <[EMAIL PROTECTED]>
> Send reply to: Tomcat Users List
> Date sent: Wed, 10 Sep 2008 19:17:24 +0200
> From: Lars 'Levia' Wesselius <[EMAIL PROTECTED]>
> To: users@tomcat.apache.org
> Subject:Problem with Apache, Tomcat, mod_jk
>
> > I have a problem usin
Send reply to: Tomcat Users List
Date sent: Wed, 10 Sep 2008 19:17:24 +0200
From: Lars 'Levia' Wesselius <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Subject:Problem with Apache, Tomcat, mod_jk
> I have a problem using Tomcat 6.0.18, latest Apache, latest mod_jk and
> Java
Just so folks are aware, this has been solved. Apparently is was the
servlet that was resolving the location of the XML file based off the
Context Docbase, and there was a trick to getting it to realize that the
file path you were passing to it was a full file path and not a relative
file path.
In
Send reply to: Tomcat Users List
Date sent: Wed, 10 Sep 2008 18:58:48 +0200
From: Willem Moors <[EMAIL PROTECTED]>
To: Tomcat Users List
Subject:Re: Migrating to tomcat 6 gives formatted currency amounts
problem
> >
> > Works fine for me, fresh install of 6.0.18, changed the
Bill Barker schrieb:
> "Stacey Jones" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi, I am a new member on tomcat mailing list.
>>
>> For tomcat 5.5 - Is there a recommended value for connectionTimeout
>> attribute? How to decide this value?
>>
>> The documentation says : The
Plz Help !!
Is it possible to disable all java code execution within jsp page (by
security manager or something)
but allow custom tags to be executed?
The problem is that the users can change jsp files, and due to security
reasons we can allow them to use only tags
--
View this message in conte
I have a problem using Tomcat 6.0.18, latest Apache, latest mod_jk and Java
SE 6. I have it set up so I can access the main Tomcat page..but when I go
to the manager from there, it shows a (apache) 404 error. Can someone help
me with this problem? I have the configuration files ready for those who
>
> Works fine for me, fresh install of 6.0.18, changed the
> HelloWorldExample.java and
> recompiled.
>
> Tried with both IE7 and FF 3.
>
>
> Are you sure you don't have a httpd in front of tomcat?
>
> I've seen simillar problem when using apache httpd.
> I had to turn off the option
>
> AddDefaul
Send reply to: Tomcat Users List
From: Stephen Caine <[EMAIL PROTECTED]>
To: Tomcat Users List
Subject:Preventing File Access
Date sent: Tue, 09 Sep 2008 19:35:31 -0400
> All,
>
> Can someone point me to where I can rea
> From: Michael Dehmlow [mailto:[EMAIL PROTECTED]
> Subject: JVM per Context
>
> I have multiple contexts that are defined for a given host in
> my server.xml
Placing elements in server.xml is strongly discouraged for any
current version of Tomcat; however, you didn't bother to tell us what vers
Hi Ognjen,
Thanks for your reply! Here is my web.xml from jjolt application:
http://java.sun.com/dtd/web-app_2_3.dtd";>JJOLT
servlets
JJOLT servlets Examples.
HelloWorld
/servlet/HelloWorld
Hello
/servlet/Hello
> From: Michael Dehmlow [mailto:[EMAIL PROTECTED]
> I have multiple contexts that are defined for a given host in
> my server.xml
> each context I would like to start up in its own jvm, for dll and
> enviornment variable reasons.
As a solution sketch (I've never done it), you'll need to deploy ecl
I have multiple contexts that are defined for a given host in my server.xml
each context I would like to start up in its own jvm, for dll and
enviornment variable reasons.
Here's an example of my server.xml:
Send reply to: Tomcat Users List
Date sent: Wed, 10 Sep 2008 17:27:51 +0200
From: Willem Moors <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Subject:Migrating to tomcat 6 gives formatted currency amounts problem
> I'm transferring my application from a tomcat 5.5.26 server t
This is probably more of a Java issue than a Tomcat issue, but it's directly
impacting our use of Tomcat, so I'm sending it here first...
Configuration:
Tomcat version: Tomcat 5.5.20
JDK: 1.5.0_06
OS: Windows Server 2003, Standard Edition
Problem:
We use Tomcat for B2B communication with one
I'm transferring my application from a tomcat 5.5.26 server to tomcat
6.0.18, and notice that my formatted currency amounts are not being properly
displayed. Instead of a Pound (GBP) sign I get a question mark within a
black diamond (the app works fine in 5.5.26).
This can easily be emulated. Add
I would suggest to start from the Default servlet (that would be
org.apache.catalina.servlets.DefaultSerlet)
On Wed, Sep 10, 2008 at 5:07 PM, Pierre Goupil <[EMAIL PROTECTED]>wrote:
> Hello all,
>
> As an exercise, I would like to start reading Tomcat 6 source code. Lots of
> things to learn ther
Hello all,
As an exercise, I would like to start reading Tomcat 6 source code. Lots of
things to learn there, I guess ! But I don't know where to start. An idea,
anyone ?
Yours,
Pierre
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of
a User
In order to add privileged="true" property simply edit
$CATALINA_HOME/conf/context.xml
replace tag by
In Response To:
Hi all,
I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat
6 I get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2008-2938: Apache Tomcat information disclosure vulnerability - Updated
Severity: Important (was moderate)
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 4.1.0 to 4.1.37
Tomcat 5.5.0 to 5.5.26
Tomcat 6.0.0 to 6.0.16
The unsuppo
2008/9/10 Niki Diulgerov <[EMAIL PROTECTED]>:
> I implemented aide monitoring on tomcat (and the webapps) yesterday and
> today faced a very strange problem.
> tomcat-users.xml seems the same file (it contents) but aide reports MD5 and
> SHA different checksums.
> is it possible that on restart apa
Hey folks,
we're using apache httpd serverion (2.2.8) on a Ubuntu Server.
We're normally using a LAMP-config for our webapps, but some of them are also
written in java / jsp.
Therefore we're using mod_jk (1.2.26) to pass-through the corresponding
requests.
Unfortunately the following code modi
laura fu wrote:
Hi Tomcat, How are you? I am new to using Apache Tomcat and am in the process of learning it. I came across
this problem while i was setting it up, please kindly take a look, i just need a little push in the right
direction. I saved my work HelloWorld.java in the folder in "C:\
hello There,
I implemented aide monitoring on tomcat (and the webapps) yesterday and
today faced a very strange problem.
tomcat-users.xml seems the same file (it contents) but aide reports MD5
and SHA different checksums.
is it possible that on restart apache tomcat to change (or recreate)
tomc
61 matches
Mail list logo