I am running out of memory when running some imaging ops with Tomcat
5.0.28 and need to set the java command with the attributes -Xms32m,
-Xmx256m, and -Xrs. However, danged if I can figure out how to do
that. I am using the simple startup.bat and shutdown.bat. Where is
the place I plugin with
Hi Jack,
The answer is CATALINA_HOME/bin/catalina.sh
CATALINA_OPTS=-Xmx512m -Xss1024k -XX:+PrintGCDetails -server ...
Mit freundlichem Gruß / kind regards
SBS ORS GD AHS OA42
Otto-Hahn-Ring 6
D - 81739 München
Tel. (089) 636-41024
Fax (089) 636-49347
Hi,
Due to the amount of e-mails we get per day we have setup this auto responder
for your convenience.
This is not a monitored e-mail address
To unsubscribe
http://321greetings.com/unsubscribenewlist.htm
a href=\\\ http://321greetings.com/unsubscribenewlist.htm \\\ AOL Link /a
To subscribe
Raja you would be much better off to read the manuals and books
already available on Struts. They will be more helpful to you than
some offhand stuff here on the list. Also, there is a Struts list
which would be more appropriate and more helpful to you than this list
on this question. Good
Hi Steve,
Am Montag, 23. Mai 2005 00:39 schrieb Steve Kirk:
I started replying to yr post including my full config, had nearly
finished, then saw the problem - I had a leading space in the 'url'
value within the Resource tag of my context.xml file. Grrr! I
[...]
Thanks very much to both
OK.
So... your conclusion is that you can't do that, right? That's what I'm
reading the servlet 2.4 spec as saying, because you can't invalidate a
session in one context that is not accessible to you in another context,
irrespective of whether you use getRequestDispatcher to do that.
Or maybe
Hello :)
(this is my very first post to any mailing-list)
I've been trying to get Tomcat and its JAASRealm to work for maybe
four weeks now.
Even though the JAAS authentication succeeds, Tomcat does not pass me
through to the protected web-app, but says HTTP 403 instead!
I read somewhere
How can I deploy a webapp with the tomcat deploy-ant-task to a context path
e.g. /a/b?
I do not have a problem to deploy a app to e.g. /a but a context path with
subpaths does make problems.
I tried various versions ('path=/a/b' or 'path=/a#b') in combination with
varoius war names.
I also
Ronald Klop wrote:
If you have issues about jdk 1.5 on bsd being flaky, please post them on
[EMAIL PROTECTED]
By the way, I should have said alpha rather than flaky -- I haven't
seen it to be flaky, just (perhaps wrongly) inferred it would be from
its announced alpha status...
Morning all..
I have a web app and for certain areas of the site I wish to restrict access
to a Client Authentication certificate. I want to generate a root
Certificate for my company domain and then sub domains for a variety of
customers. Then I wish to be able to generate certificates for
Thanks, Steve, again.
That's what I'm
reading the servlet 2.4 spec as saying, because you can't invalidate a
session in one context that is not accessible to you in another context,
irrespective of whether you use getRequestDispatcher to do that.
What section of the spec defines such behaviour?
Did anyone see this message as Remote host said: 554 delivery error: This
user doesn't have an account. Can someone please confirm they got it?
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: 23 May 2005 10:38
To: tomcat-user@jakarta.apache.org
Subject: Client
Hi Mark -
I saw it, and...
don't know the answers for the second two (don't fully understand the
questions) , but yes, you can create your own Certificate Authority, no
problem -- however your clients will each then either have to
click-through various warning dialogues each time, or they
Jack,
To use the batch files you need to set it as an Environment Variable. The
catalina.bat file will the pick it up and add it to command line.
If you are wanting to do some quick testing, I think you MAY be able to
include it on the command line with startup.bat. I don't run on Windows so
Not having done this myself, try with no path attribute and a war file named
a#b.war I think that was the recommendation from prior posts that worked.
Doug
- Original Message -
From: Pfingstl Gernot [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, May 23, 2005
Thanks, but it doesn't work:
Using a#b.war and path=/a/b causes java.io.FileNotFoundException:
webapps/a/b.war
Using a#b.war and path=/a#b I get Deployed application at context path /a#b
but app does not use context.xml (no jndi resources were found)
Using without path, I get Must specify 'path'
OK no problem, I'm learning something here too :)
I agree, one app cannot access a session created by another app (unless you
set singlesignon, which we'll ignore for now).
I am referring just to the single line I quoted earlier, from SRV.7.3 of 2.4
spec. I'm reading that as saying that if app
Are there any negative effects when choosing to set unpackWARs to false?
Performance?
Or what are the advantages to choose unpackWARS=true (I will not edit any
expanded file)?
Gernot
-
To unsubscribe, e-mail: [EMAIL
Linux has some tools, comes with the distribution depending on which your
using. I've used earthreal.
Take a look at: http://www.topology.org/comms/netmon.html might be a start.
-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 21, 2005 6:08 AM
To:
I am running Tomcat 5.5.7 on Windows 2000 and when a user logs in, the
call to request.getSession(true) is taking 20 seconds. Any ideas on how
to track down the source of this problem?
Bernard Durfee
-
To unsubscribe, e-mail:
Hello,
I have a webapp that is running on Tomcat 5.5. I have always developed just
using Tomcat. Now I want to take a site, and host it. The site will also run
certificates for SSL. Should I wrap my site around Apache now. Meaning should I
install apache and put tomcat inside? Or however this
On Fri, 20 May 2005 22:52:08 +0200
Pfingstl Gernot [EMAIL PROTECTED] wrote:
How can I depoly a war to a path like '/x/y'?
You can't deploy in a path like this (on several levels) :
you can deploy
x.war in /x
ROOT.war in /
but nothing in /x/y
You can search more details in the archive
Hello,
I am running Tomcat 5.5.9 on Windows 2000. I configured the ISAPI
redirector (version 1.2.12) so that Tomcat worked along with IIS and
everything seemed to work fine, but...
I have a Tomcat application which requires basic authentication. Everything
works fine if I access from
Hi !
I have Tomcat Version 3.3.1 running. All the compilated files have the
suffix ..._1.java.
Why does Tomcat rename all classes ? Is there a way NOT to do this ?
I need to precompile all JSP-Files in order to fasten up the system.
Do you know how to do this ? I have to edit the build.xml,
Hi !
I have Tomcat Version 3.3.1 running. All the compilated files have the
suffix ..._1.java.
Why does Tomcat rename all classes ? Is there a way NOT to do this ?
I need to precompile all JSP-Files in order to fasten up the system.
Do you know how to do this ? I have to edit the build.xml,
Thanks for the assistance.
I finally figured this out, for future people trying to find the same
answer. The environmental variables at the top of catalina.bat can be
set there. So, I added:
SET CATALINA_OPTS=-Xms512m -Xmx512m -Xrs
after
rem
rem CATALINA_OPTS (Optional) Java runtime
Tomcat handles SSL certificates as it is, but I'd recommend install Apache to
handle all cert instead of Tomcat.
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 9:39 AM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat For SSL
Hello,
I
And just to let you know, should you ever need/want to run Tomcat as a
service, it's a different story at that point. At least on Windows, those
settings are stored in the registry. If you ever need to go down that
road, I highly suggest a look at Tomcat Service Manager:
Get ready for differing opinions on this, it's been asked loads of times
before, try searching the archives for more info. My very quick summary
would be that you do not need apache httpd to do SSL, and it can be very
fast and stable without apache, as well as simpler to config if you don't
Hi, again, Frank,
Where can I get a copy of the code/binaries for Java Service Manager
(the update of Tomcat Service Manager)? I went to this site but there
seems to be no reference to any downloads.
On 5/23/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
And just to let you know, should you
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=downloads
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Mon, May 23, 2005 10:56 am, Dakota Jack said:
Hi, again, Frank,
Where can I get a copy of the
Don't let the snotty attitude get to you. You encounter those type on the
list from time to time.
LOL
- Original Message -
From: Remy Maucherat [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Sunday, May 22, 2005 11:07 AM
Subject: Re: Reload on Tomcat
Supposing I forgot to close a database connection. And the script was
requested numerous times. And now my scripts can not get any database
connections. Is there a way to close those connections without
restarting Tomcat?
Charles
Hello.
I'm a bit confused about simple logging on tomcat 5.0. I've read much of the
FAQ at http://jakarta.apache.org/tomcat/faq/logging.html#builtIn but that
doesn't seem to address what I'm looking for, which is just routine mundane
daily activity.
For instance, if I create and deploy a
DBCP has some config params in the context.xml that will clean up for you if
you don't return resources to the pool. It will also test connections for
you to make sure they're alive, and close/replace them if not. To config
these features, set the params in your Context's DBCP Resource tag, for
From: Lane [mailto:[EMAIL PROTECTED]
Subject: confused about simple logging
where on earth will a hit be recorded when I navigate to
http://localhost/helloworld/index.jsp ?
See if this is what you want:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html
- Chuck
THIS
Hi,
Because there is a lot of informations on several documents for deploying a
webapp in Tomcat,
it is difficult to define a simple and standard way to do it on a production
server.
Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5
So I decided to initialize a document which
2nd test with the doc HTML inside...
Hi,
Because there is a lot of informations on several documents for deploying a
webapp in Tomcat,
it is difficult to define a simple and standard way to do it on a production
server.
Moreover, the deployment is different with Tomcat 3, 4, 5.0 or 5.5
So I
Is there any info for migrating apps from oc4j to tomcat5.x? thanks
On Monday 23 May 2005 12:01, Caldarale, Charles R wrote:
From: Lane [mailto:[EMAIL PROTECTED]
Subject: confused about simple logging
where on earth will a hit be recorded when I navigate to
http://localhost/helloworld/index.jsp ?
See if this is what you want:
Hi,
Could anyone share some advice on how to install Tomcat on a Linux box
such that it can be shared by several users?
I would imagine that you install Tomcat to a system folder like /usr or
/opt and then users that want to use Tomcat will have configuration
files in their own home
Your confusion possibly arises because there are at least 2 types of logger
that you might mean, and 3 main choices for one of those at the moment,
although one of those 3 is deprecated and a second is probably becoming less
popular.
OK I'll take a quick stab and see if this gets you anywhere in
If I write to stdout where does that go?
System.stdout.println(Where does this get printed to?);
I assume C:/tomcat.../log/stdout?
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 12:28 PM
To: 'Tomcat Users List'
Subject: RE: confused about
How can I update things programmatically using Tomcat 5.0?
Kartheek - did you get this working?
cheers,
David
|-+
| | Peter Rossbach |
| | [EMAIL PROTECTED]|
| | |
| |
Can you configure more than one jndi realms for ldap lookups in the same
host component for Tomcat 5.5? Will it look to both, just the first one,
or fail all together?
thanks
Teresa
__
Teresa M. Hoes, MS, JCP, PCLP
Senior Database Web
Not sure, ut I think all the output streams are diverted to that file. It's
probably configurable. Don't know full detail to be honest. Best wasy is
try it and see.
-Original Message-
From: Jim Henderson [mailto:[EMAIL PROTECTED]
Sent: Monday 23 May 2005 19:02
To: Tomcat Users
We would like to send one of our employees to some type of training for
Tomcat administration. Does anyone have any suggestions on how to find
reliable courses? We are located in Salt Lake City and prefer something
local.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
On Monday 23 May 2005 12:28, Steve Kirk wrote:
Your confusion possibly arises because there are at least 2 types of logger
that you might mean, and 3 main choices for one of those at the moment,
although one of those 3 is deprecated and a second is probably becoming
less popular.
OK I'll
Well I am having lots of self doubt.
I am trying to install my own overloaded JDBCRealm, I have been getting
some Sybase jdescripter error. (My backend DB has an old means of encoding
passwords so I overloaded the getPassword method.) I don't know if my code
is getting called or is it not. I
We are using Tomcat 5.5.9 with IIS on the front end. IIS is serving all
the static content and forwards the servlet requests to Tomcat using
the latest version of isapi_redirect.dll and ajp13 protocol. After
deploying the aplication over a server and accessing it through the
internet I am
Sorry can't help you there. I was where you are now a year or more ago,
fancy logging frameworks - too much hassle to learn for the simple logs
that I want. But I soon realised that it was more work, and quite a bit
more ugly, trying to do your own thing. I'd say bite the bullet and embrace
the
Lane wrote:
I got the valve configured and working in server.xml and immediately set
about trying to make it work only in a specific context.
I've tried to configure it in
$CATALINA_HOME/conf/Catalina/localhost/helloworld.xml and in
$CATALINA_HOME/webapps/hellowworld/WEB-INF/web.xml but
GOOD IDEA! I'll do that! (When this is done, I should have no logging at
all.)
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:23 PM
To: 'Tomcat Users List'
Subject: RE: confused about simple logging
If you really reach your wits end making
So would this be an alias within apache or tomcat?
Thanks
Randy
From: Parsons Technical Services [EMAIL PROTECTED]
Subject: Re: Can mulitple domains share one web app?
Date: Fri, 20 May 2005
- Original Message -
From: Jim Henderson [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, May 23, 2005 2:01 PM
Subject: RE: confused about simple logging
If I write to stdout where does that go?
System.stdout.println(Where does this get printed
Hi,
Perhaps this is a strange question.
Basically, I believe that (for many purposes) the
browser provides the easiest way to create a GUI. I
want to write a program that can be interfaced to via
a browser.
However, I do not want it to run out of Tomcat since I
want the presence of the java
This is VERY minimal.
http://www-106.ibm.com/developerworks/library/j-nioserver/
- Original Message -
From: Dola Woolfe [EMAIL PROTECTED]
To: Tom Cat tomcat-user@jakarta.apache.org
Sent: Monday, May 23, 2005 9:15 PM
Subject: Minimal server
Hi,
Perhaps this is a strange question.
Hi,
Perhaps this is a strange question.
Basically, I believe that (for many purposes) the
browser provides the easiest way to create a GUI. I
want to write a program that can be interfaced to via
a browser.
However, I do not want it to run out of Tomcat since I
want the presence of the java
From: Dola Woolfe [EMAIL PROTECTED]
Sent: Monday, May 23, 2005 1:15 PM
Can this be done? I basically want to program to have
a thread that listens to some port and launches a
servlet when a request is made.
Tomcat itself is reasonably easy to embed, from what I understand. Jetty is
another
I used the template available at the following link to create a program
using Tomcat as an embedded component:
http://www.theserverside.com/discussions/thread.tss?thread_id=30625
It is 5.5 specific.
On 23 May 2005, Dola Woolfe wrote:
Hi,
Perhaps this is a strange question.
Basically, I
Hi,
Thanking for the response!
What I'm primarily thinking about is what the user
would need to have/install in order to use the
program. And I want the user to simply click on a file
and for the program to just run (provided the jre is
installed).
From your email, I'm concluding that this is
Download the embedded binary distribution:
jakarta-tomcat-5.5.9-embed.tar.gz
That contains all you need to create a program with Tomcat embedded in it.
It is smaller than the standard distribution.
I have done something similar to what you are looking for. Or perhaps I
have done exactly
Hello,
I would like to change the value of a form's text field by scriplet, is it
possible, please?
Through Javascript, I can use the form name plus the name of the field, for
example,
myform.address.value='xxx'. I know I can do myform.address.value='%=
something %', where something is a
Mark Benussi wrote:
Can I build a root certificate that is not signed by someone like Verisign
or any other trusted root? (This is a cost issue).
Yes, but then people have to trust your root certifcate. One of the
services Verisign and the other CAs offer (depending on the type of
certificate
[EMAIL PROTECTED] wrote:
Is there any info for migrating apps from oc4j to tomcat5.x? thanks
oc4j is a both a EJB container and a Servlet container. If your app uses
EJBs it won't ever work on Tomcat.
If you have a .war files that has been constructed as per the servlet
spec it shouldn't need
I suspect the IE and IIS are conspiring to use Windows Native
Authentication. I think this is a browser setting where IE tries this by
default if talking to IIS.
The settings should be under something like:
IE Tools Internet options security custom level user
authentication
I can't
Scott Purcell wrote:
Should I wrap my site around Apache now. Meaning should I install apache and put tomcat inside?
There is no standard answer to this question. It depends what you are
trying to achieve. Apache adds both functionality and configuration
complexity. You have to weigh the costs
Hello Jukka,
Jukka Männistö wrote:
Hello :)
(this is my very first post to any mailing-list)
Hope it will be a positive experience :-)
I've been trying to get Tomcat and its JAASRealm to work for maybe
four weeks now.
Even though the JAAS authentication succeeds, Tomcat does not pass
You might not be asking this, but...
Scriplets execute on the server, not on the client. The results of a
scriplet are in essence inserted into the response.
So in that regard, no, you can't use a scriplet to change the value of a
text field as you would with Javascript because Javascript
I should also mention, you can certainly do something like this:
script
function changeIt() {
myForm.myField.value = %=someValue%;
}
/script
...but that's not much different than just setting the value of the
field with a scriplet. However, if you perhaps have some discrete
values that you
I'm running Apache 1.3.33 + mod_ssl 2.8.22 + mod_jk 1.2.13 on a Solaris
8 box.
If I set JkLogLevel to debug, I get debug messages plus some info and
error messages (when the tomcat instance is down, for example). If I set
JkLogLevel to trace, I get the appropriate trace messages, as well as
the
Hi,
I am a complete newbie to Tomcat so please forgive me...
I have two problems:
1. Cache - Tomcat will cache everything to /temp and even when the
underlying content (images or pages) are changed, it will not refresh. I
have to stop the server, delete all files in the /temp
From: Andrew Stevens [EMAIL PROTECTED]
Sent: Monday, May 23, 2005 6:43 PM
1. Cache -
Can't help here, sorry...
2. CPU utilisation - Tomcat often hits 99% CPU and just stays there
until the server just comes to a grinding halt. This could of course be
a coding issue in a JSP or what have
From: Cassius V. de Magalhaes [EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:56 PM
I would like to change the value of a form's text field by scriplet, is it
possible, please?
Through Javascript, I can use the form name plus the name of the field,
for example,
myform.address.value='xxx'. I
Hi all
In struts why do we need validation frame work we have java script
to do validations. Is there any extra advantage of using the validation
frame work
Regards
raj
_
On the road to retirement? Check out MSN Life
Not all validations can/should be done client-side.
-Rahul
On 5/24/05, raja buddha [EMAIL PROTECTED] wrote:
Hi all
In struts why do we need validation frame work we have java script
to do validations. Is there any extra advantage of using the validation
frame work
Regards
raj
Jukka Männistö wrote:
Hello :)
(this is my very first post to any mailing-list)
I've been trying to get Tomcat and its JAASRealm to work for maybe
four weeks now.
Even though the JAAS authentication succeeds, Tomcat does not pass me
through to the protected web-app, but says HTTP 403
77 matches
Mail list logo