run as root else nothing less than 1024
David Shaw wrote:
I have troubled setting up server.xml to use port 443 - always report
that "The page cannot be displayed" in IE. 8080 and 8443 works fine
though. Using the same setting in server.xml and just changing the
port to use 8443 instead of 4
I have troubled setting up server.xml to use port 443 - always report that
"The page cannot be displayed" in IE. 8080 and 8443 works fine though.
Using the same setting in server.xml and just changing the port to use 8443
instead of 443, I can access using https://localhost:8443. Any idea wha
PROBLEM:
I am having a problem setting up DB connection pooling with
Postgresql through JNDI in Tomcat 5.5.15. I have a portlet
application that is hosted in the GridSphere portlet container that,
upon initialization, gets a database connection from JNDI. The
database that I am connecti
http://tomcat.apache.org/connectors-doc/
thanks,
Vamsi.
On 4/13/06, Jana Nguyen <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I want to download the mod_jk for linux or unix platform. Where can I
> find the tarball for this? I went to the following link and nothings
> there:
>
> http://jakarta.a
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/
-Original Message-
From: Jana Nguyen [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 13, 2006 4:11 PM
To: users@tomcat.apache.org
Subject: Where to download mod_jk?
Hi there,
I want to download the mod_jk for linux or uni
Hi there,
I want to download the mod_jk for linux or unix platform. Where can I
find the tarball for this? I went to the following link and nothings
there:
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.html
BTW I do not see any request in the logs...
-Original Message-
From: Rob Elliott
Sent: Thursday, April 13, 2006 3:12 PM
To: 'Tomcat Users List'
Subject: RE: Serve a file instead of a page using Tomcat.
Yes I suspected that too and started deleting all offline content before
each attempt.
Yes I suspected that too and started deleting all offline content before
each attempt.. no luck.
I've become more adventurous and have now specified a "video" directory
(same level as webapps folder) and created a ROOT under it and then a
3gp\video.3gp under that. I set the localhost appbase to "v
On 4/13/06, Rob Elliott <[EMAIL PROTECTED]> wrote:
> Thanks for your response.
>
> I placed it under ROOT and I get the message HTTP Status 404 -
> video/3gp/video.3gp.
>
> What's interesting is that if I enter http://localhost:8080/ I get the
> admin page and then if I append video I see directory
the question is if you're ulimit really is unlimited. there are a few
settings, linux has 1024 for open files.
[EMAIL PROTECTED] tomcat]$ ulimit
unlimited
[EMAIL PROTECTED] tomcat]$ ulimit -a
core file size(blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size
I'm not certain about the "full" terminology, but a minor gc will sweep
the new generation in the heap. These are common. Major gc's harvest
free objects in the tenured generation. There are different methods to
mark an object as good or bad in either GC..copy works well in the
new since we
Can somebody tell me what the difference is between a "full GC" and a
regular "GC"? Here's an excerpt from my jakarta-service log, when I
have the verbose gc option set. You can see that the total memory used
drops hugely. I was intentionally letting my app continue to run to see
what would
Greetings,
Do we have a binary version of Tomcat build for PDA (ipaq or
sharp zaurus) arm processor? If not can some one help?
Thanks,
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Is there a how to for linux on how to get more than
one context to work under Tomcat 5.x?
I am not using ../webapps/ROOT as a default context.
I am trying to get three context under ../webapps/
../webapps/production/
../webapps/qa/
../webapps/sandbox/
to work with one tomcat instance and with
Hi there,
I am running Tomcat 5.5 on RH Linux as user 'tomcat', I'm trying to
get tomcat to run on a secure port 8443 instead of 8080. I
uncommented the "SSL HTTP/1.1 Connector" entry in
$CATALINA_HOME/conf/server.xml and generated a host certificate as
user 'tomcat'. The .keystore file got gene
Thanks for your response.
I placed it under ROOT and I get the message HTTP Status 404 -
video/3gp/video.3gp.
What's interesting is that if I enter http://localhost:8080/ I get the
admin page and then if I append video I see directory listing containing
the 3gp directory, append 3gp and see video
Hi,
I have a server.xml with 37 virtual hosts defined, each with 1 root context
also defined in the same file (yes, not recommended, but not explicitly
disallowed either, right?).
Tomcat starts up fine and is solid with this config on 5.5.15, but not on
5.5.16.
After 14 loaded contexts on 5.5.16
you wanna support 700 concurrent connections on 150 threads?
maxThreads==max number of concurrent connections
but in your case, put in a profiler, and that will tell you very quickly
what is causing the CPU spikes.
Filip
opensta wrote:
One more Question ::
for Tomcat config file these are
Ya, I would avoid using webapps as a "host".. set the appbase to
webapps/ROOT
Or whatever folder you want.. if you use webapps and put in other
appbases in there, then they get loaded twice...no need for that.
-Original Message-
From: P Y [mailto:[EMAIL PROTECTED]
Sent: Thursda
The default webapp is in ROOT/, so, create the directory ROOT/video
to be reached through http://localhost:8080/video/
...
On 4/13/06, Rob Elliott <[EMAIL PROTECTED]> wrote:
> I understand what you are saying...
>
> My appbase is the default "webapps" directory. Under webapps I created a
> video\
Hi,
I am currently working on a fairly complex system which provides a means
to incorporate 'pluggable' functionality using an embedded Tomcat -
essentially it allows WARs to be dropped into a specific directory, the
embedded Tomcat then unpacks and deploys the WAR.
This has been working without
I understand what you are saying...
My appbase is the default "webapps" directory. Under webapps I created a
video\3gp folder and in it is a file video.3gp. I added the following
Mime mapping to the web.xml
3gp
video/3gpp
I stopped and then started tomcat and ente
Reinhard, thanks for replying to both of these.
I'd like to deploy only Tomcat - its for a standalone app. Whilst I
can serve from outside of the webapps directory, the content is still
part of the webapp.
We are uploading content by FTP and fetching with HTTPClient. If I
write the conten
Whatever file you defined as a host in your server.xml will work.. (or
any subdirectory of course).
So if your appbase is "c:\someDirOnMachine\stuff\abc\xyz\"
And in there you have a folder called "\123\"
With a file blah.ext
You can just serve out with
http://Hostname:port/123/blah.ext
--
Hi Franck,
coming back to my issue: How can I make sure that my certificate is
right for tomcat? Could I attach it at one of these eMails? Or are
attachments not allowed? Could you test it?
Would be great.
Thanks
Klaus
Klaus-F. Kaal schrieb:
Franck,
I changed that and restartet Tomcat.
[EMAIL PROTECTED] wrote on 04/07/2006 01:28:42 PM:
> "Tremal Naik" <[EMAIL PROTECTED]> wrote on 04/07/2006 09:48:53 AM:
>
> > 2006/4/4, Tremal Naik <[EMAIL PROTECTED]>:
> > > I have no problem with Firefox, while IE looks as if it get lost.
The
> > > secure request does not arrive on the tomcat
Thanks for your response,
I don't see a "web" folder for Tomcat, only under webapps. Will I need
to deploy a WAR file to do this?
Thanks...
-Original Message-
From: John Powers [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 13, 2006 10:17 AM
To: Tomcat Users List
Subject: RE: Serve a f
Hi,
Any help on this would be appreciated.
Thanks
-Mukarram.
-Original Message-
From: Mukarram Syed
Sent: Wednesday, April 12, 2006 4:29 PM
To: 'Tomcat Users List'
Subject: Help with mod_jk.so errno=2
Hi
I am now getting an errn=2
[Wed Apr 12 19:20:36 2006] [14611:28992] [debug] jk
If the file is in the web folder then you can just path to it
http://localhost:8080/somedir/somefile.ext
But if it isn't, then a servlet can read in from a file stream and read
out to the servlet's out stream...
-Original Message-
From: Rob Elliott [mailto:[EMAIL PROTECTED]
Sent: Thu
After spending sometime to set-up such things, I finally got an answer
from Sybase forum. But as this list was the first I looked at, I feel it
will be usefull to post the solution.
After copying the jconn2.jar file into $CATALINA_HOME/common/lib, add
driverClassName="com.sybase.jdbc2.jdbc.Syb
Hello,
Users will be entering a file URL with file extension into browser. How
must you configure Tomcat to serve up a file for browser download rather
than a web page?
Thanks in advance,
Information contained in this e-mail and any attachments are intended for the
use of the addressee only,
And finally it WORKS!!!
It seems that tomcat failed to connect to MySql so authentication failed
too.
so I have change my connector version from 3.1.12 to 3.0.17, register the DB
as global JNDI resource in server.xml and use only a minimal set of
parameter (just username, password, driver class a
Franck,
I changed that and restartet Tomcat. No different reading in the logs
Klaus
Franck Borel schrieb:
Does that tell you more?
Not really. But I think you must augment the debug value to 99:
Better?
-- Franck
--
Does that tell you more?
Not really. But I think you must augment the debug value to 99:
Better?
-- Franck
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Franck,
yes, I am using Java 1.5 ONLY
I fitted in the catalina.sh the statement you suggested. In my opinion,
it didn't change anything in the log.
This now looks like this:
---
13.04.2006 14:00
Another suggestion:
Be sure that you are using only one Java version and that this version
is > 1.4.1 (there is a known bug with this version if you use it with JSSE).
Another idea is to use the -Djavax.net.debug=all flag. I never try this,
but it should help you to get more information about
Hi again,
this sounds like you should use apache for that.
Are you using a specific download manager on the client side?
Note you can always configure tomcat to serve content outside of webapps. Just
use context.xml-Configuration:
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html
-->"A
Franck, I suspect that my way of creating the key could be the problem.
Do you have an idea where I could find a "dummy" key for just checking,
my key is not the problem. It should be a key which is already working
with tomcat.
Thanks
Klaus
Klaus-F. Kaal schrieb:
Yes, Franck, I am "root
The Server attribute is for setting the server name on the response. For
example, you can have tomcat server back:
200 Ok
Server: More Cowbell/1.0
...
As for the "charset=ISO-8859-1" - See the tomcat-user archives and bugzilla
about this. I can't recall the outcome of the various resolutions f
One more Question ::
for Tomcat config file these are default settings ::
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acc
Hi
I need to serve content from directories other than webapps, but need
to support resumable downloads (and hence serve ETag response headers
and correctly respond to Range and If-Range request headers).
I've cast high and low for some code which fits the bill, but can
find nothing. Does
All tomcat internal threads seem to be safe, I can see no unusual state
for them.
There are three threads in stacks coming from the package
com.hedgeflex.core.common.event.* and another three coming from Fiorano.
You should have a look at these, but they are not really good ones for a
tomcat
Use Ctrl Break at your cmd shell.
regards
Peter
Am 13.04.2006 um 11:05 schrieb Ronald Klop:
Do 'kill -QUIT ' and look in your logs for the
stacktraces about what thread is doing what.
Or run 'jstack '.
This works on Unix/Linux. I don't know how to do this on Windows.
Ronald.
On Thu A
Hi,
I got a problem with Tomcat that it enforces "charset=ISO-8859-1" to
the Content-Type header in the response. It's very much like the problem
as described in this page:
http://groups.google.com/group/microsoft.public.windows.inetexplorer.ie6
.browser/browse_thread/thread/dda4148694bf91
Do this a couple of times and see which thread stays the same and which one
changes it stack. That's probably the one which is doing things.
Ronald.
On Thu Apr 13 11:01:01 CEST 2006 Tomcat Users List
wrote:
I already done that dump using that kill quit command
but how can i identify the
Hi,
I got a problem with Tomcat that it enforces "charset=ISO-8859-1" to
the Content-Type header in the response. It's very much like the problem
as described in this page:
http://groups.google.com/group/microsoft.public.windows.inetexplorer.ie6
.browser/browse_thread/thread/dda4148694bf917
Do 'kill -QUIT ' and look in your logs for the stacktraces
about what thread is doing what.
Or run 'jstack '.
This works on Unix/Linux. I don't know how to do this on Windows.
Ronald.
On Thu Apr 13 09:27:36 CEST 2006 Tomcat Users List
wrote:
In our application , jboss app server , fio
I already done that dump using that kill quit command
but how can i identify the problem , following is the thread dump , please
help me how to look into
Full thread dump Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode,
sharing):
"Thread-1500" prio=1 tid=0xac187838 nid=0x2b85 waiting on co
Hi,
I am using Tomcat 5.0.28 and Form based authentication.
Here are steps to produce my problem,
1. Access secured page -> tomcat forwards request to login page
2. Restart tomcat server or wait till session expires, keep login page as it
is, do not close browser window.
3. After tomcat restarts,
Use the tool of your choice (depending on your platform) to find out,
which threads are using the cpu time. The do a Java Thread Dump and have
a look at it.
For *nix use ps (or prstat on Solaris) to find out about the threads.
Use kill -QUIT to write a thread dump to STDOUT (which you should
Yes, Franck, I am "root" when I run key-creation and tomcat...
Franck Borel schrieb:
Next suggestion:
Did you make the key as root? And do you start Tomcat as root?
-- Franck
Yes, in testphase, I do all pw's in low-cases...
Franck Borel schrieb:
Hi Klaus,
Good Morning Franck,
yesterday
Next suggestion:
Did you make the key as root? And do you start Tomcat as root?
-- Franck
Yes, in testphase, I do all pw's in low-cases...
Franck Borel schrieb:
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to help me. I appreciate that!
Thanks.
But... I am runn
Try this:
Remove 'source' from your Context Element:
-- Franck
Thanks but that's not the problem.. the carriage return was inserted during
copy&paste, and it's not present in the original server.xml. Anyway I
probably find the REAL problem.
If I remove the "realm" tag from the "Context" I could
Thanks but that's not the problem.. the carriage return was inserted during
copy&paste, and it's not present in the original server.xml. Anyway I
probably find the REAL problem.
If I remove the "realm" tag from the "Context" I could start tomcat
otherwise I get the:
GRAVE: Begin event threw except
In our application , jboss app server , fiorano messaging server , Tomcat 5.0
webserver ,
first time when give load of 200 users it works fine ,
but after some time 10 min , the tomcat server remains 48% idle , when there
is no load ,
when i type top command it shows java process taking 99 % cp
Yes, in testphase, I do all pw's in low-cases...
Franck Borel schrieb:
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to help me. I appreciate that!
Thanks.
But... I am running out of ideas. Regarding the password: presently,
I am using "changeit" for everything (
Hi Klaus,
Good Morning Franck,
yesterday, you did a great job, trying to help me. I appreciate that!
Thanks.
But... I am running out of ideas. Regarding the password: presently, I
am using "changeit" for everything (just to get in running), but I
still have no success.
Yesterday, I sent an
Hello
I have apache2, mod_jk2 and tomcat 5.0.28 on linux.
Sometimes tomcat fails (the process is killed somehow) or simply apache
cannot propagate the requests to tomcat.
When this happens I get the following stuff in the apache errorlog:
[Thu Apr 13 10:03:31 2006] [error] msgAjp.receive(): Bad
58 matches
Mail list logo