hi, I have 2 java classes in the same directory. One of them
(SlateServlet.java) creates a new object from the other class (UsersDB.java).
When I compile UsersDB, everything is correct and the .class archive is in the
same path as the other .java archives. But when I want to compile the
Put your classes in packages. Specs forbid the use of package-less
classes in web container.
En l'instant précis du 03/12/07 09:14, rameau rameau1982 s'exprimait en
ces termes:
hi, I have 2 java classes in the same directory. One of them
(SlateServlet.java) creates a new object from the other
Hi all:
One question...
What is the max value of maxThreads in server.xml?
Thanks
Derek
Hello!
On an Apache server, I would like to have a Redirect from a URL to
other URL not on my server. The redirect is temporary, and therefore I
would prefer if the original URL appeared in the visitor's browser's
Address Bar, as opposed to the URL of the site to which he/she was
redirected.
Is
I tested the performance years (3+) ago trying to answer the same
question. In most cases the OCI driver was faster but in some tests the
thin driver was faster (IIRC the results from that long ago).
That being said - the performance difference in the drivers is (most
likely) negligible
Hi All
I am just curious to know what people are using to monitor Tomcat, for
my purposes I just require something very simple, and don't have too
much time to spend. I am looking for a solution kind of like this:
A basic summary of memory usage
The potential to detect memory leaks
*A
Andrew Hole wrote:
Hello!
On an Apache server, I would like to have a Redirect from a URL to
other URL not on my server. The redirect is temporary, and therefore I
would prefer if the original URL appeared in the visitor's browser's
Address Bar, as opposed to the URL of the site to which he/she
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
http://www.lambdaprobe.org/d/index.htm
On Dec 3, 2007 12:09 PM, Pedro [EMAIL PROTECTED] wrote:
Hi All
I am just curious to know what people are using to monitor Tomcat, for
my purposes I just require something very simple, and
This is perfect!!! thanks Leon
Leon Rosenberg wrote:
http://moskito.anotheria.net/moskitodemo/mui/mskShowAllProducers
http://www.lambdaprobe.org/d/index.htm
On Dec 3, 2007 12:09 PM, Pedro [EMAIL PROTECTED] wrote:
Hi All
I am just curious to know what people are using to monitor Tomcat,
Hi all,
I'm trying to get Tomcat5.5 working with Poestgresql. I know I got
everything configured right because if I turn Tomcat security off, in /
etc/default/tomcat, everything works fine. My site directory
is at /usr/share/tomcat5.5-webapps/ROOT/myapp. I want security on so
this is
One other thing to be aware of is that if you installed Tomcat 4.1.x
using the exe, and you chose to install Tomcat as a service, then the
install would copy tools.jar from the JDK to Tomcat's common/lib
directory. This allowed the service to run off the JRE associated with
the JDK (much much
Exactly which Tomcat version?
What doesn't work? What error do you get, under what circumstances?
- Peter
-Original Message-
From: Chris Baty [mailto:[EMAIL PROTECTED]
Sent: 03 December 2007 13:37
To: users@tomcat.apache.org
Subject: Tomcat5.5 postgresql, security
is there such profiler ? netbeans need to add a parameter to jvm in order to
use the profiler. I know there is a commercial grade profiler that use
proprietor's jvm and not required to restart jvm. Is there any profiler that
can be used with existing standard jvm and do not need to
Hi guys,
I went through the documentation and recent posts to the list, yet I
cannot solve my problem.
My problem is that I am trying to POST non ASCII data to tomcat, but it
gets recoded in ISO8859-1 interpretation of UTF-8 byte sequence.
OK. Here are some more data for my setup
Fedora 8,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
[EMAIL PROTECTED] wrote:
later on in the index.jsp attempt to use the log
line 42 onMouseUp=%log.debug(From index.jsp StringToEncrypt=);
An error occurred at line: 42 in the jsp file: /index.jsp
Generated servlet error:
log cannot be
Sorry,
If Tomcat5.5 security is off I'm able to get a connection. If Security is on I
get catched out and get:
org.postgresql.util.PSQLException: Something unusual has occured to cause the
driver to fail. Please report this exception.
org.postgresql.util.PSQLException: Something unusual has
From: Александър Шопов [mailto:[EMAIL PROTECTED]
Subject: Yet again a problem with POSTs and encodings
My problem is that I am trying to POST non ASCII data to
tomcat, but it gets recoded in ISO8859-1 interpretation
of UTF-8 byte sequence.
Have you tried implementing a filter to set the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Baty wrote:
If Tomcat5.5 security is off I'm able to get a connection. If
Security is on I get catched out and get:
org.postgresql.util.PSQLException: Something unusual has occured to cause the
driver to fail. Please report this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Александър,
Александър Шопов wrote:
My problem is that I am trying to POST non ASCII data to tomcat, but it
gets recoded in ISO8859-1 interpretation of UTF-8 byte sequence.
[snip]
in server.xml I have put:
URIEncoding=UTF-8 in the
+1 I agree with Rainier
You may want to consider returning 302 supplying the new Location URI field
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
implementation example available at
http://developers.sun.com/mobility/reference/techart/design_guidelines/http_
redirection.html
Viel Gluck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shekar,
[EMAIL PROTECTED] wrote:
We are trying to build module which under apache named mod_jk.so.
document points to compiling it with build-unix.sh script which is not
there. Any idea how to compile /build it ? Thx
Which version?
The build
Ahhh,
It seems the standard is a PITA, most people are confused and developers
are unwilling to change. ;-)
Ohh sweeetie - my favourite situation.
However as this seems a frequent misunderstanding and request - will it
be possible to ship such a filter as an example with Tomcat?
I mean -
Ola,
We are trying to build module which under apache named mod_jk.so.
document points to compiling it with build-unix.sh script which is not
there. Any idea how to compile /build it ? Thx
[EMAIL PROTECTED] /usr/local]: find / -name build-unix.sh -print
find: bad status-- /proc/381108
Hi,
For the following setting in web.xml, if I have a request like /*.earth how
can I exclude it from these filters? I don't want to filters to handle
request from /*.earth. Thanks!
filter-mapping
filter-namerewriteFilter/filter-name
url-pattern/*/url-pattern
Look into using Url Rewrite Filter: http://tuckey.org/urlrewrite/
kkus wrote:
Hi,
For the following setting in web.xml, if I have a request like /*.earth how
can I exclude it from these filters? I don't want to filters to handle
request from /*.earth. Thanks!
filter-mapping
Hello,
I have an application running under Tomcat for a couple of months
now, and itś always been memory intensive (I run it in a combination
with Apache2 + JK + Berkeley DB XML in the backend). But from a few
days to today, it's been eating memory like crazy, and I can see that
when I have
On Dec 3, 2007, at 03:14:38, rameau rameau1982 wrote: hi, I have 2 java classes in the same directory. One of them (SlateServlet.java) creates a new object from the other class (UsersDB.java). When I compile UsersDB, everything is correct and the .class archive is in the same path as the other
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Александър,
Александър Шопов wrote:
It seems the standard is a PITA, most people are confused and developers
are unwilling to change. ;-)
It's really the evolving standard that is a problem. With so many
products attempting to provide
1. You didn't include a package directive in your source. You really
should package your sources.
2. How are you compiling these? Most people use an IDE or let a build
tool like maven or ant do the ugly heavy lifting for them. From your
description you seem to be doing this by hand.
Александър Шопов wrote:
However as this seems a frequent misunderstanding and request - will it
be possible to ship such a filter as an example with Tomcat?
You mean like the one that has been there for as long as I can remember?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Breno,
Breno Jacinto wrote:
I have an application running under Tomcat for a couple of months
now, and itś always been memory intensive (I run it in a combination
with Apache2 + JK + Berkeley DB XML in the backend). But from a few
days to
Guys,
I have setup a cluster where i have two tomcat instances (one on windows and
the other on linux), the two instances are able to detect each other and
form a cluster. On top of them i have apache/mod_jk as a load-balancer which
has sticky-sessions set to FALSE...I am trying to test this
~
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
~
This is what I read from the latest final release of the Servlet Specification
~
// __ SRV.9.6 Web Application Archive File, page: 71
~
SRV.9.6 Web Application Archive File
Web applications can be
On Thu, 29 Nov 2007 07:51:07 + Mark Thomas wrote:
It should show more information. If there is something subtle going on with
the permissions then it should make it easier to figure out.
The container has been restarted today.
Oddly enough the exception does not show now. I'll keep the
From: Albretch Mueller [mailto:[EMAIL PROTECTED]
Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
Yes, and also in expanded .war files. That's where Tomcat will look for
the
Whatever happened to the Elves Union? Maybe Rudolf's
incandesent nose will be out and the new red led one
on backorder.
Have a Happy Holiday and give Santa our best (all the
Tomcat team is on his good list right?).
-Tony
--- [EMAIL PROTECTED] wrote:
Same to you unfortune I will be working on
Christopher Schultz wrote:
Jason,
Jason Perrone wrote:
Please forgive me if this question was already answered. I use log4j in
my application, but still you always have some log messages that end up
in stdout. For these, and for all messages that end up in stdout, I
would like there to
/META-INF directory you say? Isn't /META-INF a special descriptor
folder in WAR files?
Yes, and also in expanded .war files. That's where Tomcat will look for
the context.xml file; read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
~
I see! and thank you! The
That worked!
I can't imagine what the issue was, but now that it's working smoothly, it's
not worth investigating further.
Thanks!
Caldarale, Charles R wrote:
Try installing an undbundled Tomcat from tomcat.apache.org, rather than
any 3rd-party repackaged version, even the one with
good question
2 options
implement with resin
http://www.caucho.com/resin-3.0/config/webapp.xtp#filter-mapping
OR
a filter which which parses RegularExpresssions (as with urlrewrite.xml
configuration from tuckey)
http://tuckey.org/urlrewrite/
e.g.
[^.earth]
Anyone else?
M-
- Original
Hi Christopher,
2007/12/3, Christopher Schultz [EMAIL PROTECTED]:
You are probably seeing 170 threads, not 170 Tomcat instances.
Yes, you're right. I used instances because thats what tomcat says
when it's shutting down.
Tomcat itself is extremely stable. This is most likely an
Hi,
Just one curiosity came to my mind: when does tomcat creates a new
thread, and when and how does it get deallocated? If this is not a
question for this list, please ignore it.
cheers,
--
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
2F15 8A61 F566 E442 8581
From: Breno Jacinto [mailto:[EMAIL PROTECTED]
Subject: Re: Hundreds of Instances
They get very, very slow because Linux starts to swap like
crazy, after the Tomcat process eats almost 100% of RAM.
If you're encountering significant swapping with your current heap and
RAM sizes, you might
From: Breno Jacinto [mailto:[EMAIL PROTECTED]
Subject: Re: Hundreds of Instances
when does tomcat creates a new thread, and
when and how does it get deallocated?
This is controlled by the maxThreads, maxSpareThreads, and
minSpareThreads attributes of Connector elements:
I'm not very familiar with Tomcat, I've tried reading up on this but cannot
find an answer..that said, here is my question:
I'm in a position where I need to update single .jsp files now and then on a
production server. However if I do this and the server crashes or restarts
for some reason
For production environment it has been recommended that we use OCI driver.
Based on the oracle JDBC guide, with oracle 10g there is not much difference in
the two drivers in terms of capability.
We would like to know is there any documentation/links/whitepapers on the
above? Is there any data
We evaluated OCI driver ourselves and found that it has only one benefit
- external OPS$ account support. Otherwise THIN driver requires less
maintenance, less installation and it is often faster, because it brings
some datatypes inline (LONG, if I am not mistaken).
- Alexey.
Rumpa Giri
You can't do it from the config alone (the spec doesn't have exclude
mappings). You would need to do it from within your Filter code, e.g.:
public class RewriteFilter implements Filter {
public void init(FilterConfig conf) {
// init logic here
}
public void destroy() {
From: primus [mailto:[EMAIL PROTECTED]
Subject: Preventing War files from redeploying
Is it possible to have tomcat not redeploy the last
war and just start up with the existing files?
Not redeploying from the .war is Tomcat's normal behavior, at least for
the 5.5 and 6.0 versions. Since
Hello,
Where can I find out about the error codes? I just know that -1
represents connection closed by remote host, but I can't find what
errno 2 represents.
Thanks,
D
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hi Mark,
You mean like the one that has been there for as long as I can remember?
Exactly the same.
I will file an enhancement request in Bugzilla for the FAQs to be
updated. Will that be the best strategy?
Kind regards:
al_shopov
Hi,
I want to display my project projectName in the url like
http://localhost/aa/projectName.
There's only one project projectName on the host. I know how to
deploy it to http://localhost/projectName directly under the host but
how to tell tomcat about the path /aain the middle?
I tried to write
From: Tim [mailto:[EMAIL PROTECTED]
Subject: How to config tomcat 5.5 to display project in sub
directory in url
I tried to write context:
Context docBase=war path=/aa/projectName reloadable=true/
in \conf\Catalina\localhost\projectName.xml but doesn't help.
1) Take out the path
53 matches
Mail list logo