Hi,
i tried to install a tomcat server on a linux (suse) V-Server of strato. But it
doesn't work! I had sucess at windows but anyway. I would be really thankful if
you could give me some hints / tutorials / ... .
Environment:
- on the server have been already installed Suse, Apache2, Java 1.5.
Hello
I am trying to decompile the java class file with javap command but it
returns
my-class-name.class contains some-other-package
so I am unable to decompile it .
is any one has experience with javap command ?
how can I decompile a class that cotains other package or classes.
I am aware
With the huge number of issue covered in the past and what I consider to be
very good documentation, I am surprised by a lot of the questions asked,
including this one. In any event, to sympathize is one thing and to
sympathize after this antisocial conduct is another. Also, if you think the
doc
Hi Len,
On your comments, I totally understand that you can't override the tomcat
503 error page in a standalone Tomcat set up, especially from a webapp that
isn't running. However, can you explain ...
> As long as Tomcat is running, the situation is the same as above.
> JK and Apache pass Tom
Hi, guys,
Is auto deployment function workable with embedded tomcat? I have
put the following code in my embedded tomcat, but seemed auto
deployment didn't work yet.
this.host = this.embedded.createHost("localhost", "webapps");
host.setAutoDeploy(true);
host.setDeployOnStartup(true);
I was stress-testing for our web application we always meet this TreadPool
logFull.
I have been doing some research and found our I can change the maximum
number
of thread in the server.xml. However, surfing the net i found some said that
is not
the real solution. I am not sure why and if anyone
I'm trying to extend my basic JDBC Realm form authentication within my web
app to, in addition to checking for userid and password, also check to make
users' passwords aren't too old and force them to update their passwords.
How do I extend the org.apache.catalina.AuthenticatorBass class? I don't
The recent messages on this topic have confused me, so I've spent part
of my evening running some tests.
=
First, with Tomcat standalone:
Tomcat's default error pages can be overridden by an error-page
declaration in the webapp's web.xml. If there is no error-page
declared, Tomcat uses it
On 7/25/06, Rick G <[EMAIL PROTECTED]> wrote:
The 500 is caught correctly, but I always end up seeing the tomcat generated
error page for a 503.
I guess this could be a mod_jk or apache issue if you are saying that tomcat
is sending the right status code.
Questions:
what version of tomcat you
My reasoning was that Apache doesn't catch the 503, but it does catch a
500..
/etc/httpd/conf/httpd.conf
...
ErrorDocument 500 /notice.html
ErrorDocument 503 /notice.html
...
The 500 is caught correctly, but I
On 7/25/06, Rick G <[EMAIL PROTECTED]> wrote:
It seems like on a 503, Tomcat generates its own 503 page and returns
status 200
What makes you think this? I just stopped a webapp with the manager,
tried to load a page, and got (using LiveHttpHeaders) the Tomcat 503
page with the expected stat
Rick G wrote:
Hi Robert,
I just wanted to say that I have been using the XMLHTTP object for about 7
years now (since IE 5x),
Strangely enough the problems do not occur when using IE7.
-
To start a new topic, e-mail: users@t
If the log4j classes are not specifically located in
/usr/local/apache/vhosts/www/webapps/DHS
then You need to grant a minimum of read,execute access to Log4j librariesin
catalina.policy
//lets assume you dropped your log4j.jar in %CATALINA_HOME%/shared/lib
//catalina.policy
grant codeBase "file:
The only viable solution is to setup a filter and monitor invocations of
init(), doFilter and destroy() method where the timeout could be calc'ed as
getCurrentTime() - lastgetCurrentTime() >
ElapsedTimeParameterFromFilterConfig.getInitParameter("Timeout")
check out
http://tomcat.apache.org/tomc
Sure. I have the following in my policy file:
// == DHS ==
grant codeBase "file:/usr/local/apache/vhosts/www/webapp/DHS/-"
{
// Runtime permissions
permission java.util.PropertyPermission "*", "read,write";
permission java.lang.RuntimePermission "accessDeclaredMembers";
pe
can you provide the specific example where a webapp doesnt apply permissions
from catalina.policy
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom
I have those entries. Those are the default entries included with
Tomcat (which I'm using 5.5.9).
In my years administering Tomcat, I have always created additional
entries and not touched the default entries. The entries I add are per
application running under that certain Tomcat instance.
It
I'm not following what you're suggesting.
--
Propes, Barry L wrote:
> isn't that because the permission object picks all of that up as one item,
> and overrides your separate setting?
>
> I would think it would. Wouldn't you need to create an entire new object or
> not for that to work?
>
> --
isn't that because the permission object picks all of that up as one item, and
overrides your separate setting?
I would think it would. Wouldn't you need to create an entire new object or not
for that to work?
-Original Message-
From: Ryan Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, J
Nikita,
>> I read through your ClassLoader. It doesn't look like it will compile,
>
> Why? It were compiled and run on my PC.
Oh, sorry. The indentation was a little funny and I didn't see the
method signature for "private byte loadClassData(File f)". Never mind.
>> I'm not sure what your Class
All:
I have started seeing problems with using the
java.util.PropertyPermission setting in the catalina.policy file.
I have the following line:
permission java.util.PropertyPermission "*", "read,write";
If that's in my policy entry for the specific web application, it does
not get picked up. I
Hi Michael,
Michael Huettermann schrieb:
> The whole system is on my desktop:
> Apache/2.0.55 (Win32) mod_jk/1.2.17
when using Apache 2 depending on the used MPM the worker cachesize
should not be "1":
> worker.node1.cachesize=1
> #worker.node2.cachesize=1
If your MPM is "prefork", then "1" is
Martin,
As for proxy servers, no I have not looked into that. But I don't think I
would want to add another layer to the mix just to have to parse all
requests for the off chance that the webapp is stopped. Especially when
Tomcat knows that the webapp is unavailable, there should be a simple opti
OOzy Pal wrote:
On 7/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
All Tomcat installations come with startup. and
shutdown. located in $TOMCAT_HOME/bin
run the startup. first in some sort of console (xterm...) and
note the errors
e.g. If it cant find $JAVA_HOME it will output debug messa
That makes sense now. Thankyou.
Garthfield
Rick G wrote:
Doing a directory list, puts them in alphabetical order, which isn't the
real order, just look at the dates.. Think of .5-.9 as .05 - .09. jk-1.2.15
is the latest.
Jk-1.2.05
Jk-1.2.06
Jk-1.2.07
Jk-1.2.08
Jk-1.2.09
Jk-1.2.10
Jk-1.2.1
Chris,
>>> If so, then you can't fix the
>>> problem by writing your own JSP compiler and/or ClassLoader.
>>
>> I guess loading each JSP class by separate classloader instance
>> will fix the problem. Classloader will be created when HTTP request
>> recived and no one reference on this classloader
On 7/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
All Tomcat installations come with startup. and shutdown.
located in $TOMCAT_HOME/bin
run the startup. first in some sort of console (xterm...) and note the
errors
e.g. If it cant find $JAVA_HOME it will output debug messages to screem saying
Doing a directory list, puts them in alphabetical order, which isn't the
real order, just look at the dates.. Think of .5-.9 as .05 - .09. jk-1.2.15
is the latest.
Jk-1.2.05
Jk-1.2.06
Jk-1.2.07
Jk-1.2.08
Jk-1.2.09
Jk-1.2.10
Jk-1.2.11
etc
-Original Message-
From: Garthfield Carter [mail
wouldn't that mean that those bigger numbers are newer versions, but not as
stable and thoroughly tested?
I think the latest stable means one where all the bugs are resolved. Maybe
those newer ones don't have everything fixed yet?
-Original Message-
From: Garthfield Carter [mailto:[EMAIL
Hello,
Can someone explain the versioning system please. Here's the directory
lisitng from
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/. The
latest stable build is jk-1.2.15 but what are the jk-1.2.5 -> jk-1.2.9
aren't these a greater build number than jk-1.2.15 or am I
Hi Martin, doesn't the example you listed involve the webapp actually
running to return a 503 in a particular circumstance? I'm trying to handle
a 503 when the webapp is actually stopped, by the manager app/JMX. So
nothing code/config wise in the webapp would fix the problem that I can
think of,
Hi Robert,
I just wanted to say that I have been using the XMLHTTP object for about 7
years now (since IE 5x), and over the years have used various versions of
tomcat, 4.x-5.0.x-5.5.12, with Apache 2.0.x using mod_jk for the connector
and do not recall every seeing the issues you are talking abo
Maybe using 'getServletContext()' u can solve the problem.
Mike Molina <[EMAIL PROTECTED]> escreveu: I'm beginning to see my problem is a
bit more complex than I had mentioned.
Here is the situtation: I have two JSP's, login.jsp and catalogue.jsp.
Login JSP calls a servlet to do some processin
ok, if I come across anything else Rodrigo, I'll reply to you in the users
group here.
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 8:44 AM
To: Tomcat Users List
Subject: RE: tomcat strike
Yes, 7034 is a windows event ID.
There is NO a
If you dont mind handling this programmatically..check out this Filter for 503
errors
http://java.sun.com/developer/JDCTechTips/2001/tt0626.html
M-
*
This email message and any files transmitted with it contain confidential
inform
Hello,
I am having some big difficulties using AJP.
Configuration:
(running on linux)
Apache HTTP Server 2.2.0
Jakarta Tomcat 5.5.7
mod_jk 1.2.14.1
I use AJP1.3 to forward requests from the HTTP Server to Tomcat using
standard settings.
Sometimes when using Internet Explorer 6 the requests seem
Raniner,
Many thanks for your test. Seems I have to figure out myself why mine
is not working.
Jianguo
Rainer Jung wrote:
Hi,
I'm right now building from subversion head of 5.5 and I don't get the
error, although the URLs look exactly the same::
Rao Jianguo schrieb:
downloadgz:
[ge
Goddag Alain-
In your doGet doPost or service methods you can interrogate the IP of the
invoking CLIENT via the HttpServletRequest with
HttpServletRequest.getRemoteAddr()
Bedankt,
Martin --
*
This email message and any files tra
Martin,
you point a config parameter in tomcat 5.5, but we are using tomcat 5.0.19,
I checked the same for 5.0 but maxthreads no appear there.
See you,
Martin Gainty <[EMAIL PROTECTED]> wrote:
MaxThreads is a configuration Specific to the connector
http://jakarta.apache.org/tomcat
Hi All,
I saw a similar question asked a while back about using a custom 503
errorpage, but never saw an answer. I'm looking to, if a page is requested
for a webapp that has been stopped, instead of returning the canned Tomcat
503 Error page, to have it return a 503 status code instead so that y
MaxThreads is a configuration Specific to the connector
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/ajp.html
M-
*
This email message and any files transmitted with it contain confidential
information intended only for
>> ciphers="SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA"
> You need 4.1.32 for the ciphers parameter to take effect.
Worked a treat, cheers.
>> Second it says I have UserDir enabled (like apache mod_userdir I assume) but
>> again I cant find a way to dis
Alain,
>allow="127.0.0.1"/>
> I get a ClassNotFound java exception for
> org.apache.catalina.valves.remoteAddrValve in the bootstrap process
It looks like you have a lowercase 'r' instead of an uppercase 'R' in
your class name. It should be "RemoteAddrValve".
-chris
signature.asc
Des
I am trying to use the Tomcat facility ( on Windows Server) that restricts
Web Access to an ip address - in our case I want the Tomcat Manager
application to be available
only from a Web Browser on the Tomcat server itself.
I have updated the file Program Files\Apache Software Foundation\Tomcat
Is there any Coyote HTTP Connector setting like timeout to release this kind
of memory. I am using the IE for testing.
Thanks and Regards,
Bhakta
--
View this message in context:
http://www.nabble.com/Coyote-HTTP-Connecto-memory-leak-with-repeated-sumultaneous-requests-fro-tf1998241.html#a54867
I am trying to use the Tomcat facility ( on Windows Server) that restricts
Web Access to an ip address - in our case I want the Tomcat Manager
application to be available
only from a Web Browser on the Tomcat server itself.
I have updated the file Program Files\Apache Software Foundation\Tomcat
Sorry for the top post, but no choice with this $%* Notes e-mail client...
Normally, a browser will try to pipeline requests, which means that
multiple requests are sent over a single connection without waiting for
responses. The responses are, however, required to be returned in the
same order
Andrew,
The idea is to discover why we are getting during login the error: "Number of
simultaneous users reached". Firstly we thought that this error was due
because
we were exceeding the maxusers=20 limit (that is, more than 20 users using
the app simultaneously). We thought that thi
All Tomcat installations come with startup. and shutdown.
located in $TOMCAT_HOME/bin
run the startup. first in some sort of console (xterm...) and note the
errors
e.g. If it cant find $JAVA_HOME it will output debug messages to screem saying
so
When and only when your install has been running
Nikita,
>> If so, then you can't fix the
>> problem by writing your own JSP compiler and/or ClassLoader.
>
> I guess loading each JSP class by separate classloader instance
> will fix the problem. Classloader will be created when HTTP request
> recived and no one reference on this classloader
I do not really understand what you are trying to do here...
But you may get more information from http:///manager/status
As for 'maxUsers' in web.xml - no idea what that command does - never
seen it before.
Regards
Andrew
On 25/07/2006, at 4:03 PM, Jan Line wrote:
Andrew,
I have r
Get a life. I know it was not a nice thing to do but there is more time
being spent on complaining about this than things that matter. If you see a
title you don't like, delete it. Unless the question is so totally lame that
a five year-old could figure it out, stop responding with RTFM. Some of th
Hi David,
Thank you David .Actually we are using
Tomcat Version: Tomcat 5.5.16
It would be great if you could tell me how to suppress the server name in
Connectors.
Ur help will be much appreciated
Thanks
Surya.
David Smith <[EMAIL PROTECTED]> wrote:
Don't think that's p
Andrew,
I have read your pointed link and now I am able to check the number of active
sessions for our application. I cannot modify anything on the target machine
but the ant tool was already installed so we prepared a build.xml file with a
project with default target list (using the exa
Chris,
>> I work on application which allows user to deploy/undeploy large
>> number of the JSP pages to AppServer (JBoss 4.03sp1 + Tomcat 5.5).
>> Standard Tomcat class loader caches classes for all deployed JSP
>> internally and never clean its cache. This brings JVM to PermGen
>> overflow e
Barry is right.. 7034 is a windows event code
http://support.microsoft.com/?kbid=827214
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email mes
ok
thanks
--
View this message in context:
http://www.nabble.com/were-there-any-major-issues-with-1.2.17---tf1993998.html#a5485855
Sent from the Tomcat - User forum at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.a
On 7/25/06, Martin Millnert <[EMAIL PROTECTED]> wrote:
On Mon, 2006-07-24 at 23:02 +0200, edward wrote:
> OOzy Pal wrote:
>
> >>
> >>
> >
> > I found the JKD but I am not sure how start tomcat. I am really stuck.
> > I am not sure what am I missing? Is there a good tutorial for
> > installing tom
Quite frankly, I sympathize with the original poster. This list is very
unresponsive quite often, and I would never recommentd tomcat to a
commercial company because the mailing list support is terrible. Heck, I've
even called commercial support vendors for tomcat who have not returned my
phone
Oh thanks, Guru, I did not see the wood for the trees. Thanks a lot. :)
Regards
Michael
-Ursprüngliche Nachricht-
Von: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. Juli 2006 14:36
An: 'Tomcat Users List'
Betreff: RE: mod-jk loadbalancing: "Tomcat is down or
I am tomcat 4.1.29 as standalone web server with the CoyoteConnector and the
configuration as follows
I noticed the memory leak if there are multiple repeated requests from same
browser simultaneously without waiting for response. It is keep accumulating
the memory and not releasing f
Yes, 7034 is a windows event ID.
There is NO any log that shows an error. Last log on tomcat log files is
a normal system.out and the next is the log of the tomcat init.
There is not cluster service running on this machine.. But is is a
wmware server (it share the huge hardware with other 5 vm ser
I have some instructions for building certs and setting up tomcat config at:
http://jack.godau.googlepages.com/jbosscertificatesandopenssl
Maybe you will find some useful info there.
Cheers
Jack...
On 24/07/06, Morel, Jeremy <[EMAIL PROTECTED]> wrote:
All,
I'm sure this is a very basic ques
What can be gained is a measure of civility. I don't think someone who
deliberately does something offensive to achieve their own ends is in a
position to say when their behavior is properly handled. Some people just
have a hard time putting themselves into the position of others, or don't
care
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://tomcat.apache.org/tomcat-5.0-doc/manager-howto.html
This is per default installed with Tomcat 5.0
You will need to add a role to tomcat/conf/users.xml
Regards
Andrew
On 25/07/2006, at 2:51 PM, Jan Line wrote:
Thanks Leon for the pointer
Thanks Leon for the pointer. I see that lambdaprobe may help with our issue.
But we cannot install this new application because our production environment
is very concerned about new tools. That is the reason we are trying to get
some
info with solaris tools. We are limited but for the momen
MG>Good Morning Luis I preface my comments with MG>
> If I understand this, this means this is possible in J2EE, which I had read
> about. But, what about TOMCAT? Is it possible to do the same thing in
> Tomcat, just to see if that would solve my problem?
MG>Tomcat is a container for servlets..not
Your 8180 is a HTTP connector rather than AJP13 connector ...
Make changes in the server.xml of tomcat to enable AJP13 on 8180 ...
And then restart both tomcat and apache ...
Regards
Guru
Gurumoorthy Raghupathy
Systems Operations - Fidelity Investments International
* Tel: +44 1737 836798
* Inte
Hi,
Actually, as i said before, my application opens up to 5 pop-ups and each one
send request to get information from the
server. That is if the user is clicking 5 times "at the same time".
I have no problems with data corrupting.
My problem is that the main window is freezed because of the pro
Hello.
I try to set up an Apache Web Server loadbalancing incoming requests to
a JBoss Cluster (respectively to its Tomcat. For testing purposes the
"cluster loadbalancing" is limited to one node, see below). Everything
looks pretty nice, unfortunately Apache Web Server tells me
"Service Temporar
What do the wrapper classes actually do?
Is your Auth mechanism in them?
If not, how are you checking Auth?
Also, how does the filter know to avoid the request for the login page,
or the subsequent form submission?
If you're redirecting to a page that the filter applies to you'll end up
in a nev
http://www.lambdaprobe.org
regards
Leon
On 7/25/06, Jan Line <[EMAIL PROTECTED]> wrote:
Hello all,
I am new with tomcat problems and we are using it for supporting several web
applications, one of them is giving this error when you try to login. I
searched through
config files and see th
I'm not seeing the complete sequence in your filter code, or even a
redirect. Should be something like:
doFilter(){
MyRequestWrapper reqWrapper = new MyRequestWrapper(servletRequest);
MyResponseWrapper respWrapper = new
MyResponseWrapper(servletResponse);
MyUserObj clientUser = MyU
I downloaded roller and installed into JBoss. It is running.
But I tried to change the language of a weblog to Chinese (locale), but the
weblog still showed up in English.
What is the way to change language of weblogs?
Thanks!
Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 7/22/06, Dav
> From: RODRIGUES DE ALMEIDA Thiago [mailto:[EMAIL PROTECTED]
> I've read that Http specification preconizes the use of 2/4 multiple
> requests for the same session id/ browser. Is this correct ?
Yes. For example Internet Explorer never issues more than two requests
to the same server. You cann
Hi
I would have thought that multiple requests for the same user should not
have any impact on the tomcat as long as the server logic does not try to
modify the same session data simultaneously. Probably using the synchronized
keyword here may be required.
The request data modifications should no
Hello all,
I am new with tomcat problems and we are using it for supporting several web
applications, one of them is giving this error when you try to login. I
searched through
config files and see that web.xml for the applicationfiltered=20
but we think that we are not really reaching
Hello,
We entercounter the problem that under high workload we get corrupted data
from Inputstream. The interesting moment that corruption has following
structure:
imagine correct data as number of chunks - 1,2,3,4,5
received data - 3,4,3,4,5 (the first two chunks replaced by middle chunks).
The
Hi All,
I use Tomcat 5.5.9.
My application opens multiple "pop-up" (window.open). Each of these
"pop-ups" send one request for information.
The main window (browser) still opens and the user can open multiple
"pop-ups" at the same time.
The problem i have is concerning the time of response. It's
On Mon, 2006-07-24 at 23:02 +0200, edward wrote:
> OOzy Pal wrote:
>
> >>
> >>
> >
> > I found the JKD but I am not sure how start tomcat. I am really stuck.
> > I am not sure what am I missing? Is there a good tutorial for
> > installing tomcat?
> >
> > Any help is appreciated.
>
> Chances are
80 matches
Mail list logo