Yes it's a problem for the links in my login page. I explain this in my
previous mail. Thanks for your explanation
Christophe
-Message d'origine-
De : Christopher Schultz [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 4 décembre 2008 23:17
À : Tomcat Users List
Objet : Re: Login config
Yes, I know that. But in Tomcat 4, the address in browser when I try to display
a restricted application is redirect for example to
http://localhost:8080/welcome/login.jsp and after the correct login, the
address is if the application is in restricted :
http://localhost:8080/welcome/restricted/
> From: Albretch Mueller [mailto:[EMAIL PROTECTED]
> Subject: Trying to run tc from a read-only partition . . .
> setting the [Engine > Realm > Host > Valve]:directory with
> the full path to where you want the logs to be sent
Insufficient, since you didn't change where the vast majority of the l
How do I configure server.xml on Tomcat? I have
configured SSL through Apache and the proxy part works, however, I get
this error in the ssl log
[Thu Dec 04 15:06:12 2008] [error] (111)Connection refused: proxy: HTTPS:
attempt to connect to 165.112.28.126:8443 (localhost) failed
[Thu Dec 04 15
Hi,
~
I am trying to run tomcat from a directory mounted as read-only and I
was under the impression all it took was, doing two or three things
namely:
~
* If you need to edit the webapps as tomcat runs, resetting the
[Engine > Realm > Host]:appBase to the new webapps directory in the
writable a
Hi,
The article I have posted is an older one. The service exe is now available
at tomcat site. I don't have the link handy though, I will surely post it
soon.
I won't recommend the old post now as a year before the only solution was
the posted ones.
Thanks.
Sent from my iPhone.
kareda wro
André Warnier schrieb:
Stefan Deitmer wrote:
André Warnier schrieb:
[...]
Ok, then another probably silly suggestion, but you might as well
upturn this stone too.
Apart from the directories you named as already compared, have you
compared the /usr/share/tomcat5.5 ?
That is where the Debian di
Roy McMorran wrote:
Despite my misgivings, 1.1.5 seems to have helped. It's run my test
script for about 30 minutes now without problems (previously would
have hung by minute 3).
However!
My dev system (which was already running 1.1.15) still exhibits the
problem. It also has newer versions
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stafan,
Schuster Stefan wrote:
> I still have the problem mentioned below. I just don't have any idea
> where to start with problem solving? Can it be a problem in Tomcat? I guess
> not as this is a very simple use-case (read the stream in the servle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christophe,
FARNIER Christophe wrote:
> I installed a tomcat 5.5.27 with an application and I configure the
> web.xml of the application by introducing a security constraint and a
> login config with a form. My login page is not in the security
> dire
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
Kranti™ K K Parisa wrote:
> Could you please help me with the commands that i need to run to watch the
> thread dump.
Are you running Tomcat as a service, or are you starting it manually
from the command line? If you start it
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 6.0.18 Servlet Loading/Reloading
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> It's also a good idea to call this.init() as well, since that's the
> expected behavior established by GenericServlet.
Or just do it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Hut wrote:
> If you override: public void init(ServletConfig config), you MUST call
> super.init(config). If you don't, the config member of the base servlet
> class won't get set, which could cause problems downstream.
It's also a good
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
I'm no expert with Axis WebService, but I do have a question about your
use of the javax.sql.DataSource object:
Stefan Deitmer wrote:
> This is how I access the DataSource in the Axis WebService's LifeCycle
> object startup routine:
>
>p
a simple upgrade to 6.0.18 would most likely solve your problem
Filip
Robert J Morman wrote:
Good afternoon.
We have a problem with our production tomcat server in that the CPU will
climb after a restart from 1-2% to 100%. The rate of climb corresponds
to the amount of traffic we receive (th
Roy McMorran wrote:
Mark Thomas wrote:
Roy McMorran wrote:
libtcnative: 1.10
Sorry, should have seen this sooner. Try disabling it or using a
newer version.
I'll give it a try but I'm not hopeful. You see I have two systems
exhibiting this hang behavior. The other one (dev) has the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
kpalania,
kpalania wrote:
> I am trying to access a REST service from within an application deployed in
> Tomcat but, however, this call seems to fail:
>
> PostMethod method = new PostMethod("http://...";);
>
> I am able to call the same service usi
Christopher Schultz wrote:
13) Post a snide follow-up when someone asks if you've looked for online
documentation or done a web search for obvious key words.
Well, in truth, you didn't really ask, did you.
And he did say thank you, before wielding the scalpel.
;-)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> Mark Thomas wrote:
>> The Apache Tomcat team is proud to announce the immediate availability of
>> Tomcat 4.1.39 stable.
>
> Remembering numerous exhortations on this list to upgrade, I must say
> this announcement is s
Doctor Khumalo wrote:
How can i be removed from this awful blog?
Just scroll down the page, Doctor, there's a link to do just that on
every one of them.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
+1
13) Post a snide follow-up when someone asks if you've looked for online
documentation or done a web search for obvious key words.
Brantley Hobbs wrote:
> 12) Be sure to top post.
!!
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Stefan,
Schuster Stefan wrote:
> I have the following problem with tomcat 6.0.18:
> I wrote a servlet that reads the input stream with
> XML Beans. An application sends requests to the servlet, but only the first
> request succeedes.
That's odd.
>
How can i be removed from this awful blog?
> Date: Thu, 4 Dec 2008 15:50:30 -0500
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: mod_jk -> ajp hangs indefinitely on some requests
>
> Mark Thomas wrote:
> > Roy McMorran wrote:
> >
> libtcnative: 1.10
>
Mark Thomas wrote:
Roy McMorran wrote:
libtcnative: 1.10
Sorry, should have seen this sooner. Try disabling it or using a newer version.
I'll give it a try but I'm not hopeful. You see I have two systems
exhibiting this hang behavior. The other one (dev) has the latest
lib
If you are using Tomcat 6, you can also use BackupManager
Filip
Pieter Temmerman wrote:
This problem is solved.
I replaced the SimpleTcpReplicationManager by the DeltaManager and
everything works as expected.
On Wed, 2008-12-03 at 23:48 +0100, Pieter Temmerman wrote:
Hi all,
I'm having t
> I installed a tomcat 5.5.27 with an application and I configure the
> web.xml of the application by introducing a security constraint and a
> login config with a form. My login page is not in the security
> directory. So when I launch Tomcat and I access to my application with
> restriction, the
Roy McMorran wrote:
>>> libtcnative: 1.10
Sorry, should have seen this sooner. Try disabling it or using a newer version.
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maggie,
Maggie Shao wrote:
> Hi,
> Does anyone build Tomcat cluster on Xen?
> Is there any difference?
The steps for configuration should be identical, since each OS acts as
if it is a separate physical host. I'm not sure you get any benefit to
runni
Mark Thomas wrote:
Roy McMorran wrote:
Hello all,
I'm seeing frequent cases where requests sent via mod_jk to Tomcat will
hang indefinitely. The request will never return to Apache and the
client will eventually time out. There are no error messages.
In my test case I run wget against var
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Dubuc wrote:
> I will describe the browser interactions with regards to the access logs.
Thanks, this was helpful.
> My assumption is that clicking on OK caused the client to be
> redirected to sessionTimeout.jsf.
I think you mean th
Hello,
I am trying to attach a document throught /axis webservices in Tomcat
5.0.19 and I am uable to do so, the actual service is up (webpage tomcat
is up), but when I try to use a scipt (java .net) to upload documents I
get an error 500 in the logs ?
Is there anything else that needs to be e
Roy McMorran wrote:
> Hello all,
>
> I'm seeing frequent cases where requests sent via mod_jk to Tomcat will
> hang indefinitely. The request will never return to Apache and the
> client will eventually time out. There are no error messages.
>
> In my test case I run wget against various URLs u
It depends on your definition of easier...
you could provide your own session manager with your own session
implementation, which supports such a mechanism or patch the existing
StandartSession.java. I don't know whether you'd call it easy :-)
Leon
On Thu, Dec 4, 2008 at 8:09 PM, Timothy J Schum
Hello all,
I'm seeing frequent cases where requests sent via mod_jk to Tomcat will
hang indefinitely. The request will never return to Apache and the
client will eventually time out. There are no error messages.
In my test case I run wget against various URLs until the hang occurs
(usually
Robert J Morman wrote:
> Good afternoon.
>
> We have a problem with our production tomcat server in that the CPU will
> climb after a restart from 1-2% to 100%. The rate of climb corresponds
> to the amount of traffic we receive (the more we have, the faster it
> climbs). I noticed a couple day
Would you mind creating and sending us a Thread Dump?
Regards
Leon
On Thu, Dec 4, 2008 at 8:25 PM, Robert J Morman
<[EMAIL PROTECTED]> wrote:
> Good afternoon.
>
> We have a problem with our production tomcat server in that the CPU will
> climb after a restart from 1-2% to 100%. The rate of climb
Good afternoon.
We have a problem with our production tomcat server in that the CPU will
climb after a restart from 1-2% to 100%. The rate of climb corresponds
to the amount of traffic we receive (the more we have, the faster it
climbs). I noticed a couple days ago (by using Lambda Probe), that
David.Meldrum wrote:
Is there a searchable archive of this mailing list? I have a few
questions that I am sure have already been answered in the past.
The one above also, I'm sure.
;-)
-
To unsubscribe, e-mail: [EMAIL PROTEC
Hi Leon,
Thanks for the info. So, if I simply wanted to tell TC to invalidate
all sessions is there something easier I could do?
Tim
Leon Rosenberg wrote:
Hello Tim,
there is no easy and direct way to do it. What you can do is to create
a SessionListener
(http://java.sun.com/javaee/5/docs/
> From: kareda [mailto:[EMAIL PROTECTED]
> Subject: RE: Mini HOW-TO: Tomcat as a service on Windows
> Server 200364-bitedition
>
> I used the amd binaries as the guide said those should do the
> trick for Intel processors:
> http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16
> /res/proc
thanks for the fast reply, Chuck!
I'm running 64-bit jvm (1.6)
I used the amd binaries as the guide said those should do the trick for
Intel processors:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16/res/procrun/amd64/
but these really don't work. those are strangely small fi
Hello Tuan,
On Thu, Dec 4, 2008 at 6:05 PM, Tuan Quan <[EMAIL PROTECTED]> wrote:
> Dear all;
> What is the advantage of setting both values to the same number?
In case your server is short on memory it will try to increase the
amount of used memory from start to max. In case the load is really
he
Re: init() methods, not knowing if this is the cause of the errant
behavior but FYI just in case:
Per the API documentation:
http://java.sun.com/javaee/5/docs/api/javax/servlet/GenericServlet.html
If you override: public void init(ServletConfig config), you MUST call
super.init(config). If you d
Hello Tim,
there is no easy and direct way to do it. What you can do is to create
a SessionListener
(http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSessionListener.html),
register it as listener in the web.xml and store references to the
sessions upon creation somewhere (read map).
B
Hi,
I have TC 5.0.12 and java 1.4.1_04. Unfortunately, I am stuck using
these versions for now...
I am trying to figure out how to access/manipulate all the sessions for
my web app. I guess I want something similar to the manager
application, but I don't want to have to run the manager app
> From: kareda [mailto:[EMAIL PROTECTED]
> Subject: Re: Mini HOW-TO: Tomcat as a service on Windows
> Server 2003 64-bitedition
> used the 64-bit tomcat binaries
Which ones? AMD64 or IA64? (Hint: you need the AMD64 ones.)
> server info: 64-bit windows 2003 running on Quad Core Intel
> Xeon X33
Hello,
tried this guide, doesn't work for me though. used the 64-bit tomcat
binaries but when running "Service.bat install" I get the error:
"The program or feature "\??\C:\apache-tomcat-6.0.18\bin\tomcat6.exe" cannot
start or run due to incompatibility with 64-bit version of Windows. "
serve
Folks,
If SRS and BATV mean nothing to you, feel free to ignore this.
Those of you who have struggled in the past with SRS or BATV may be
interested to know that experimental support for these has been added to
the Tomcat user and dev lists.
You should now be able to subscribe and post from addr
hi,
i have found a bug issue with a workaround that helps.
see here https://issues.apache.org/bugzilla/show_bug.cgi?id=37084
if i set caching to false, the precomilation works for me.
marco
--
View this message in context:
http://www.nabble.com/JspC-processFile-java.lang.NullPointerException-
Hi all,
I have an Embedded Server and try to add a Resource to the
globalnamingresources:
ContextResource resource = new ContextResource();
resource.setName("jdbc/db");
resource.setAuth("Container");
resource.setType("javax.sql.DataSource");
resource.set
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I still don't know what the problem was, but I have now installed a
proper Tomcat 6.0.18 on the semi-production (testing) server, and on the
whole it now seems to work.
I am sure I have used nothing more advanced that servlet2.4/jsp2.0
during developm
In that case, clicking restart on Tomcat service shouldn't restart service.
On Thu, Dec 4, 2008 at 11:15 AM, Schuster Stefan
<[EMAIL PROTECTED]> wrote:
> Hey Toby,
>
> it might have something to do with a timeout, I remember that some
> operating systems hold a port "reserved" for a while after it
Dear all;
What is the advantage of setting both values to the same number?
My application run out Permgen memory,
If I set both memory pool to 1200MB, and Permgen - 256M, Tomcat will not start.
but if memory pool to 900MB and Permgen to 256M, Tomcat start OK.
thanks.
> From: David.Meldrum [mailto:[EMAIL PROTECTED]
> Subject: Is this list archived?
>
> Is there a searchable archive of this mailing list?
To quote from the Tomcat mailing lists description page:
http://tomcat.apache.org/lists.html#tomcat-dev
"Archives: at Apache, at MARC (searchable), at MarkMail
Is there a searchable archive of this mailing list? I have a few
questions that I am sure have already been answered in the past.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hey Toby,
it might have something to do with a timeout, I remember that some
operating systems hold a port "reserved" for a while after it was
bound as a listening port.
Hope this is a pointer in the right direction.
Best regards
Stefan
-Ursprüngliche Nachricht-
Von: Toby Kurien [mailto
Hi,
Here's the weirdest thing I have found now. If I restart the service
from "Services" in computer management, it restarts fine, but if I
click Stop and then Start after a 30 second delay, the same error as
before happens which is:
Dec 3, 2008 8:39:31 PM org.apache.coyote.http11.Http11AprProtoco
I checked the stuck and i got to a few conclusions:
after tomcat stops receiving messages it will receive some kinds and some
not:
1. if i use http client and write a string directly the tomcat will receive
the data
2. if i use http client and write a stream, the tomcat will not receive the
data
3
> From: Justin Randall [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading
>
> Each Servlet in the application has
> X where X represents the
> numeric order in which I've assigned them to start.
Then yes, there's a problem, since your servlets should have been initial
Hello,
After continuing to dig further and perform some additional debugging, it turns
out that the "init" methods are being called on startup.
The problem is that the DataSource which I'm pulling from the ServletContext is
failing to initialize itself on start-up, but succeeds when moving the
Hi Chuck,
Thanks for the response. I guess perhaps I was not clear enough in my
configuration or description of the issue.
Each Servlet in the application has X where
X represents the numeric order in which I've assigned them to start.
Also what I did mention previously is that "init" is NOT
This problem is solved.
I replaced the SimpleTcpReplicationManager by the DeltaManager and
everything works as expected.
On Wed, 2008-12-03 at 23:48 +0100, Pieter Temmerman wrote:
> Hi all,
>
> I'm having two Tomcats which are placed in a cluster.
> If I stop and start a context (instead of comp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm developing a webapp using Netbeans 6.5 and it works fine on the
development machine. On deploying it to a semi-production machine, it
immediately fails with a 404 "Servlet.jsp is not available" (but I'm
trying to access index.jsp).
The dev server
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
the jvm can't find a native library, which will be called libeMatrix.so
on a *nix system, or eMatrix.dll on win. This library should be
somewhere in the eMatrix distribution and you must make sure that it's
on the java.library.path, which you can find
Hi,
I installed a tomcat 5.5.27 with an application and I configure the
web.xml of the application by introducing a security constraint and a
login config with a form. My login page is not in the security
directory. So when I launch Tomcat and I access to my application with
restriction, the log
Hi,
I am getting the below error when i try to open eMatrix web application. I
am using Tomcat 5.0.
can any one please provide me solution for this.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this r
Andre,
Have a look at http://www.informit.com/guides/content.aspx?g=java&seqNum=253
for more details about JVM.
A bit more difficult to read but with tons of info about JVM behaviour and
default settings: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
So for the SurvivorRatio the
I have followed these instructions but it does not work.
This is whet I get on the server:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
E:\>cd "Program Files\Apache Software Foundation\apache-tomcat-6.0.18\bin"
E:\Program Files\Apache Software
Foundation\apache-
Peter Crowther wrote:
If you try to stop the accounts team naming their Excel files "Budgets from Margaret 2008-2009" you may find your office surrounded by a mob of pitchfork- and torch-waving users
That is a weak objection.
They can also not name it "Budget 2008/2009" or "Projections sales >
> [...]
> Ok, then another probably silly suggestion, but you might as
> well upturn this stone too.
> Apart from the directories you named as already compared,
> have you compared the /usr/share/tomcat5.5 ?
> That is where the Debian distributions usually install the
> base of the Tomcat 5.5 so
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Folder/directory/file names with spaces in them are evil, and
> should be
> forbidden in any new OS, by unanimous decision of the UN Security
> Council, US Supreme Court and EU Commission. The developers who first
> allowed this should be tracked d
On Thu, Dec 4, 2008 at 08:32, nitingupta183 <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have recently started using Apache web server with Tomcat. I need to have
> something like this:
>
> www.mydomain.com maps to something like www.mydomain.com:8080/mycontext
>
> With the help of mod_jk i am now
The real reason is I have 3 web apps I want to deploy in a single tomcat
instance and all 3 have to be exposed with root context and also need to be
running on port 80. Hence, I have chosen to give my machine that runs tomcat
to have 3 distinct DNS Names/Addresses and configures these names/address
Stefan Deitmer wrote:
André Warnier schrieb:
[...]
Ok, then another probably silly suggestion, but you might as well upturn
this stone too.
Apart from the directories you named as already compared, have you
compared the /usr/share/tomcat5.5 ?
That is where the Debian distributions usually inst
Hi everybody,
I still have the problem mentioned below. I just don't have any idea
where to start with problem solving? Can it be a problem in Tomcat? I guess
not as this is a very simple use-case (read the stream in the servlet) and
it would have probably come up ealier...
Any Ideas? Please?
T
Caldarale, Charles R wrote:
From: Anand HS [mailto:[EMAIL PROTECTED]
Subject: Re: What exactly happens when I configure a different host
Does that mean when we change the , we have to have a
handler added in logging.properties as well. ?
Have to - no; should - probably. If you don't define on
nitingupta183 wrote:
I was using a folder name with spaces and without putting it inside a double
quote.
You are not the first, and not the last to lose time over this.
Folder/directory/file names with spaces in them are evil, and should be
forbidden in any new OS, by unanimous decision of t
77 matches
Mail list logo