Mark,
I stated in the original message that the conf/web.xml is unmodified and the
problem only happens with certain contents in the META-INF/context.xml after it
gets moved from the app into conf/Catalina/localhost directory.
-P
- Original Message
From: Mark Thomas <[EMAIL PROTECTED]
jsvc works well for this but I haven't been able to figure out if it invokes
java security, ideally using the catalina.policy. Does anyone know?
>>> "Christopher Schultz" <[EMAIL PROTECTED]> 1/26/2007 11:24 AM >>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gaurav,
Also look at "jsvc", which
Hello All,
I have two questions about configure:
The first one is that, when I use Tomcat5.0 + Jdk1.5 and start server, I
have the error "JAVA_HOME should point to a JDK not a JRE". But I do set
the JDK dir to JAVA_HOME. If I use Tomcat5.0 + Jdk1.4, it does work.
The second question, when I
Hello there,
I am using the Apache Commons Digester as a way to load up and marshal
XML config files. Am using Tomcat 5.5.9 and JDK 1.5.
I have an init servlet which loads an xml file config file (holding
information to two more XML config files). I get the following
exception at runtime:
IN
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Kristen,
>
> [EMAIL PROTECTED] wrote:
>> I am developing a GWT application for Tomcat 4.0.5. I'm getting a 503
>> error:
>
> Ouch! If you really are "developing
Pete wrote:
> SEVERE: Parse error in default web.xml
This may be the real cause. Check that conf/web.xml is valid
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
I am setting up a Tomcat to develop some new applications. I have a number of
files in the application base directory. After starting Tomcat, some of the
files are available, but some return a resource is not available message. It
seems to have something to do with the file extension; I can a
> From: Claude Warren Jr [mailto:[EMAIL PROTECTED]
> Subject: invalid LOC header (bad signature) when running in
> servlet only
>
> Why does this only occur in the servlet environment and
> not in the stand alone environment even when reading the
> file from the same location?
What mechanism d
> From: Brian Cross [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat randomly hangs - new info
>
> 7010.198: [Full GC
> [PSYoungGen: 157504K->157504K(206656K)]
> [PSOldGen: 699071K->699071K(699072K)]
> 856575K->856575K(905728K)
> [PSPermGen: 115222K->115222K(115520K)],
> 1.1215690 secs]
You're si
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shekar,
This is off-topic for the Tomcat mailing list. You should post this
question on an Apache httpd mailing list.
- -chris
Shekar Tippur wrote:
> Hello,
>
> Is there any way to configure httpd.conf file to capture only 500
> errors?
>
> I have
Well after turning on vebose garbage collect I found out what the "hang"
really is. For some reason the garbage collector gets in a state where
it tries to do a full GC but cannot for some unknown reason. Here is
what the verbose gc looks like on the hang:
7007.950: [Full GC [PSYoungGen: 157
> From: Matthew Mchale [mailto:[EMAIL PROTECTED]
> Subject: Could not connect to SMTP host: localhost, port: 25
>
> It appears to be related to system resources in some way
Are you running out of connections (sockets), or possibly file
descriptors? Is everything that's being opened also being
>> Subject: invalid LOC header (bad signature) when running in >>
servlet only
>>
>> message = invalid LOC header (bad signature)
>>
>
> This is an indication of a corrupted .zip file. ZIP files can be read
> either sequentially or via the table of contents at the end of the
file;
> > The only
> > information I have been able to find so far is that there should be more
> > information in one of the logs, but I can't find any additional
information in
> > any of the logs I've found.
>
> Yup, more info should have appeared in one or more log files. Are you on
> MS Windows or
A team, of which I am a member, is in the process of moving several
applications from Websphere App server to Tomcat. I've had an email function
in my application for a long while with no trouble. Now, I have an
intermittent problem occurring when I try to use JavaMail to send email. It
works some
Hello,
Is there any way to configure httpd.conf file to capture only 500
errors?
I have put in the following entries in httpd.conf file:
LogFormat "%500t %500U %500q %500h %500u \"%500r\" %500s
\"%500{Cookie}i\" \"%500{Referer}i\" \"%500{User-agent}i\""
logging500errors
CustomLog logs/apache/ac
I've read from the archives that there has not been an MSI installer
released for the last several version of the Tomcat JK server connector
for IIS because there is not an InstallShield license available to the
maintainers.
1. Has anyone attempted to rewrite the installer using the Nullsoft
Inst
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
Previously, I had been using the java Preferences class, which stores
things in a way that is transparent to the java program (in the
registry on windows, elsewhere on other OS's).
IMH
Thanks Robert, makes sense, although I started with:
The doc for resource
(http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource%20Definitions)
lists the valid attributes.
The JNDI Howto lists others not defined in the above list
(http://tomcat.apache.org/tomcat-6.0-doc/jndi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
> Previously, I had been using the java Preferences class, which stores
> things in a way that is transparent to the java program (in the
> registry on windows, elsewhere on other OS's).
IMHO, the Java Preferences class is a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
John Caron wrote:
> Our application is serving large amounts of scientific data over HTTP.
> The user needs to login to access the data. We would like to use session
> ids to reduce the login overhead. We cant afford the overhead of HTTPS
> encr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kristen,
[EMAIL PROTECTED] wrote:
> I am developing a GWT application for Tomcat 4.0.5. I'm getting a 503 error:
Ouch! If you really are "developing" -- i.e. starting from scratch --
then you should really use a more up-to-date Tomcat. Even /I'm/ not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
Brian Cross wrote:
> Good idea, I have not tested the memory. The only tool I found was
> memtest86 but it looks like you need access to the machine to use it.
Memtest86 is really the way to go.
> Unfortunately the machine is in another stat
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
This is a followup to my question about startup parameters. After
digging around a bit, it looks like my best bet is to use the Properties
class to read my settings from a disk file at start
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gaurav,
Also look at "jsvc", which will allow you to run Tomcat as non-root and
still use port 80.
- -chris
Mikolaj Rydzewski wrote:
> Gaurav Kushwaha wrote:
>> I read somewhere that if I want to run Tomcat standalone on port 80, I
>> will
>> have t
There are probably required elements that are not present. The DTD/XLS could
specify elements as being required and you can get an error during
validation in processing the Resource tag. You may not be able to create an
empty resource element or there are attributes that are required. Try
modifying
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Muneendra,
Muneendra wrote:
> Lets says, my Web Application session timeout period is 5 minutes.
> I made a Http request to server and corresponding Servlet requires more than
> 5 minutes lets say 10 minutes to complete the business logic.
Your brows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
> This is a followup to my question about startup parameters. After
> digging around a bit, it looks like my best bet is to use the Properties
> class to read my settings from a disk file at startup.
That's generally how th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
David Kerber wrote:
> Christopher Schultz wrote:
>> Take a look at in the web.xml: i think you can just put it
>> there and not put anything in server.xml, which would be better, I think.
>>
> Doesn't seem to work - my app isn't finding the
brian,
another option would be to try to reproduce this behaviour on another
, similar, machine. Tried it?
Leon
On 1/26/07, Brian Cross <[EMAIL PROTECTED]> wrote:
Good idea, I have not tested the memory. The only tool I found was
memtest86 but it looks like you need access to the machine to u
Hello all,
I've searched high and low before posting tried every test I could think of
before posting here... This problem seems too simple to be a bug, but can't
find a method of resolving it.
I decided to skip the port of our application (ran fine on WAS 6 - JVM 1.5)
that was that originated
Well I tried this and it seems to hose the whole system. After
re-logging as root with the new .bashrc all I got was this for any
command I tried:
cat: error while loading shared libraries: libc.so.6: cannot open shared
object file: No such file or directory
luckily I had another root sessi
Hello:
Our application is serving large amounts of scientific data over HTTP. The user
needs to login to access the data. We would like to use session ids to reduce
the login overhead. We cant afford the overhead of HTTPS encryption of teh data
(3 times slower ?). We realize this makes us vuln
The problem is that the default servlet is handling the request(s) unless
you have some other servlet do it. By default, the doPut() will check to see
if the readonly property has been changed to false. If it has not, default
behavior, it will return the forbidden error. If you change this to false
Hi,
I got some progress.
I used a Python program to send a HTTP PUT request to my tomcat
server.
The Python allow my pick any local file to upload to tomcat server
box.
And I got response back from tomcat with error code 403(Forbidden).
I'm thing, tomcat can handler the HTTP PUT, b
I am developing a GWT application for Tomcat 4.0.5. I'm getting a 503 error:
-
Apache Tomcat/4.0.5 - HTTP Status 503 - Servlet
com.sms.web.server.CompanyListImpl is currently unavailable
type Status report
message Servlet com.sms.web.server.CompanyListImpl is currently unavailabl
you have to use the usernames and passwords as j_username and j_password. You
didn't try to change that did you?
-Original Message-
From: Deepan [mailto:[EMAIL PROTECTED]
Sent: Friday, January 26, 2007 1:22 AM
To: Tomcat Users List
Subject: authentication using active directory
Hi,
I a
Chris,
please take a look at what Christopher wrote - I guess this is the best guess.
Your web.xml looks ok so far.
Besides, I'd appreciate if you'd post your comments to the user-list
only rather than to my personal email.
Cheers
Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp:
> From: Brian Cross [mailto:[EMAIL PROTECTED]
> The only tool I found was
> memtest86 but it looks like you need access to the machine to
> use it.
> Unfortunately the machine is in another state and I just
> manage it via
> ssh. I will see if I can find any other tools that I can run
> vi
Just map your own servlet to /incoming/*, have this servlet react to
'PUT' by storing the content of request into a file. This is not more
difficult than writing any other servlet.
You can then upload files using
PUT http://server:port/myWebapp/incoming/path/where/to/store/document.pdf
and commo
Good idea, I have not tested the memory. The only tool I found was
memtest86 but it looks like you need access to the machine to use it.
Unfortunately the machine is in another state and I just manage it via
ssh. I will see if I can find any other tools that I can run via ssh.
Thanks.
Leo
Hi,
Thanks for your response.
I'm not sure about "Jakarta Commons FileUpload".
But, by the HTTP/1.1, In HTTP/HTTPS PUT method,
The URI is named by the client, means, clients want
Upload a file and put it on server and name it as URI.
So, can't by URI t
I have not tried this since it said this applied only to 2.4 kernels,
but I am willing to try anything at this point, thanks!
Zsolt Koppany wrote:
Did you try:
export LD_ASSUME_KERNEL=2.2.5
or
export LD_ASSUME_KERNEL=2.4.1
tomcat start
Zsolt
-Original Message-
From: Brian Cross
Hi Marcin,
Thank you for your careful analysis.
Your connectionTimeout on the tomcat side is way too low. This timeout
is meant for cutting connections after a longer idle time. It should
coincide with the connection_pool_timeout of mod_jk (although tomcat
uses milliseconds and mod_jk seconds
Jose Rafael Romero Miret wrote:
> I configured tomcat as standalone server and now i want to configure
> ssl. I did that as the book I have said and also like the documentation
> in the website tells me.
>
> after the configuration i get this:
> http://localhost:443/ gives me tomcat website.
> ht
Or the commons daemon project's jsvc which can launch as root long
enough to grab port 80 and then shift to an unprivileged user for normal
runtime operations.
--David
Peter Crowther wrote:
>>From: Gaurav Kushwaha [mailto:[EMAIL PROTECTED]
>>I read somewhere that if I want to run Tomcat standal
Gaurav Kushwaha wrote:
> I read somewhere that if I want to run Tomcat standalone on port 80, I will
> have to run it as root and that this is potentially unsafe.
That's in no way Tomcat-specific. On Unix-like systems an application needs
root privileges to be able to bind to ports with numbers
Jose Rafael Romero Miret wrote:
> port="443" minProcessors="5" maxProcessors="75" algorithm="RSA"
>enableLookups="true" disableUploadTimeout="true"
>acceptCount="100" debug="4" scheme="https" secure="true"
>clientAuth="want" sslProtocol="TLS"
> keystoreFile="c:/keyst
Martin Lambert wrote:
> For point 3, I'm not sure whether you're referring to the Sun JSP coding
> conventions document or the Tomcat documentation for the Jasper Ant Task
> (http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation).
> I have no problem with the
David Kerber wrote:
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to
locate a configuration file on disk at runtime
2. Put the config file somewhere in the tree of my webapp, such at
docbase or in conf. But again, I can't figure out how to
I configured tomcat as standalone server and now i want to configure
ssl. I did that as the book I have said and also like the documentation
in the website tells me.
after the configuration i get this:
http://localhost:443/ gives me tomcat website.
https://localhost:443/ gives me connected stat
Basic auth delivers the browser popup.
Form authentication allows one to configure their own form and error
page for login. So a prettier login can be presented.
-Tim
Deepan wrote:
what is BASIC authentication method ? i mean how is it different from
FORM authentication ? does it mean i dont
Most likely - you need to remove /gridsphere from your login config
-Tim
Deepan wrote:
Hi,
I am trying to authenticate using Active directory for one my
application in tomcat. ( I have only one application deployed in
tomcat).
I had configured server.xml and web.xml to use /gridsphere/login
My preference is JNDI ( ) for such things.
Then in web.xml - you can create a default entry in web.xml"
configFile
/etc/stuff
java.lang.String
Then it can be overridden in your context config:
Then looked up in java via:
***
import javax.naming.Context;
import javax.naming.Initial
Thanks,
I will read about these.
Gaurav Singh Kushwaha
http://www.chakpak.com
Ph: +91-9880101496
Bangalore, India.
On 1/26/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Gaurav Kushwaha wrote:
> I read somewhere that if I want to run Tomcat standalone on port 80, I
> will
> have to run it
> From: Gaurav Kushwaha [mailto:[EMAIL PROTECTED]
> I read somewhere that if I want to run Tomcat standalone on
> port 80, I will
> have to run it as root and that this is potentially unsafe.
True on UNIX, false on Windows.
> Is there any way
> for me to run it on port 80 without having to giv
Gaurav Kushwaha wrote:
I read somewhere that if I want to run Tomcat standalone on port 80, I
will
have to run it as root and that this is potentially unsafe. Is there
any way
for me to run it on port 80 without having to give the root privileges to
the process.
Use apache (+ mod_jk or mod_pro
I read somewhere that if I want to run Tomcat standalone on port 80, I will
have to run it as root and that this is potentially unsafe. Is there any way
for me to run it on port 80 without having to give the root privileges to
the process.
Thanks,
Gaurav Singh Kushwaha
http://www.chakpak.com
Ph
Hi,
I observe in mod_jk's log errors:
[error] ajp_get_reply::jk_ajp_common.c (1566): (ajp13w) Tomcat is down
or refused connection. No response has been sent to the client (yet)
In the rush hours (20-30 requests/second) up to several entries per hour.
Sometimes it's followed by:
[error] ajp_s
Jose Rafael Romero Miret wrote:
I configured tomcat as standalone server and now i want to configure
ssl. I did that as the book I have said and also like the documentation
in the website tells me.
after the configuration i get this:
http://localhost:443/ gives me tomcat website.
https://loc
Have you inserted this into your web.xml?
10
Muneendra wrote:
>
> Hi,
> I have a little complicated issue with HttpSession timeout process. It
> goes like this.
>
> Lets says, my Web Application session timeout period is 5 minutes.
> I made a Http request to s
Yes, ajax is running on a browser. I've tried with Firefox and IE.
Therefore.. the problem should be with the browser!
Thanks a lot,
Debora
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, January 25, 2007 11:30 PM
Subjec
Hi Tim,
Thanks again for your feedback.
I can see that you are totally correct about point 1 and I was already aware of
point 2.
For point 3, I'm not sure whether you're referring to the Sun JSP coding
conventions document or the Tomcat documentation for the Jasper Ant Task
(http://tomcat.ap
I configured tomcat as standalone server and now i want to configure
ssl. I did that as the book I have said and also like the documentation
in the website tells me.
after the configuration i get this:
http://localhost:443/ gives me tomcat website.
https://localhost:443/ gives me connected st
Did you try:
export LD_ASSUME_KERNEL=2.2.5
or
export LD_ASSUME_KERNEL=2.4.1
tomcat start
Zsolt
> -Original Message-
> From: Brian Cross [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 7:23 PM
> To: users@tomcat.apache.org
> Subject: Tomcat randomly hangs
>
> Hello and tha
Caldarale, Charles R wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Subject: Re: Storing webapp startup parameters
I thought the webapp had to be bounced for this to take
effect, but I'd love to be proven wrong about that!
You're right, it does appear that even a new InitialContext obje
66 matches
Mail list logo