> From: Chris Richmond [mailto:[EMAIL PROTECTED]
> Subject: Setting Tomcat memory usage
>
> set JAVA_OPTS = -Xms512m -Xmx512m
Take out the spaces around the equals sign. Windows interprets the
above as a setting for "JAVA_OPTS " (note the trailing space) rather
than "JAVA_OPTS", so it will be i
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Suhas Subramanya wrote:
>> Please let me know how this issue can be resolved.
>
> Tell your users not to click on the stop button whilst waiting for their
> page to appear.
>
That one should probably be moved down to DE
"DIGLLOYD INC" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Christopher,
>
> Well, I'm not a web expert, so if there's a better way (redirect) I'm all
> ears.
>
> From what I can find by googling, redirects have a slew of issues of
> their own. But I'm a newbie at this, so I m
Andy Clark wrote:
I want Jasper to look for JSP and Tag files in a
specific location (e.g. based on a request param);
and then fall back to a default location if the
file is not found. This would be extremely useful
for skinning a webapp.
We do something a little like this in a database appli
Hello all,
I read the documentation on the Tomcat6 site and I have attempted to modify
the max jvm memory settings when tomcat starts up by modifying Catalina.bat,
but it *appears* to have no effect.
Here is a summary of the situation and what I have done.
I am using Tomcat6 stable rele
Seconded.
DIGLLOYD said the following:
From what I can find by googling, redirects have a slew of issues of
their own. But I'm a newbie at this, so I might be misunderstanding.
The only trouble I've had with redirects is when you redirect to a
page which redirects to a page which redirects
Never mind .. I saw your other responses and the best solution is the
redirect option. After following the redirect, the browser will have
the correct URL for calculating the full url of each of the page's
resources.
--David
David Smith wrote:
I see the problem. You could use absolute paths
On Fri, Apr 25, 2008 at 1:12 PM, DIGLLOYD INC <[EMAIL PROTECTED]> wrote:
> As I said there are other issues. Making them fixed paths would mean I
> couldn't edit them, copy them (for revisions, etc) without having to fix up
> numerous pages.
Right, it's work to fix them -- but you're spending t
Thanks, I've tried that. Including with a full path still makes the
included file relative to the directory in which the jsp resides.
On Apr 25, 2008, at 1:02 PM, David Smith wrote:
I see the problem. You could use absolute paths in jsp includes and
the servlet container would understand
Christopher,
Well, I'm not a web expert, so if there's a better way (redirect) I'm
all ears.
From what I can find by googling, redirects have a slew of issues of
their own. But I'm a newbie at this, so I might be misunderstanding.
How would I do a redirect in Tomcat for my stated issue, k
Hassan,
As I said there are other issues. Making them fixed paths would mean
I couldn't edit them, copy them (for revisions, etc) without having to
fix up numerous pages. And the uses are not only when routed through
a web server.
Lloyd
On Apr 25, 2008, at 1:08 PM, Hassan Schroeder wro
Yeah. I had to bring that code up to the servlet level and strip it down before
I saw it. It was buried between a lot of comments. So when you told me to look
for the differences, it was like in pair-programming where someone points out
the obvious. I knew it was something obvious!!
Thanks for
On Fri, Apr 25, 2008 at 1:00 PM, DIGLLOYD INC <[EMAIL PROTECTED]> wrote:
>
> The problem is that the jsp include directives:
> - include an html page that is *not* in the same directory as the jsp page;
I've never -- and that's a long time, web-wise :-) -- liked relative paths
for this reason, a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lloyd,
DIGLLOYD INC wrote:
| My pages all use relative links eg "..", "./", etc. So this works
| ***when the page being included is in the same directory**.
|
| But when the include page is in another directory, none of the relative
| links work. N
I see the problem. You could use absolute paths in jsp includes and the
servlet container would understand them as relative to the webapp's root
as opposed to the server's root:
Say you have this file layout
webapp
|index.jsp
|article1
|index.jsp
|article1.html
|ar
David,
Yes, I understand how relative paths work.
The problem is that the jsp include directives:
- include an html page that is *not* in the same directory as the jsp
page;
- the relative links in the included html file are supposed to be
relative to their own directory not the directory of
DIGLLOYD INC wrote:
I previously asked about remapping URLs and got some helpful
responses. In a nutshell, this was recommended:
http://tuckey.org/urlrewrite/
Looks very good for some purposes.
But I also want to solve a much simpler problem--
I have a very large amount of static content (art
I previously asked about remapping URLs and got some helpful
responses. In a nutshell, this was recommended:
http://tuckey.org/urlrewrite/
Looks very good for some purposes.
But I also want to solve a much simpler problem--
I have a very large amount of static content (articles), with each
Hello Mark,
I confirmed that the users do not click on any of the buttons (stop,
refresh, back etc) before the page gets loaded on the browser. The users
have occasionally received the following message on the browser.
"Software caused connection abort: recv failed"
Thank you.
Suhas
On Fri, Apr
Again, I'll point out that Tomcat's Request class is not designed properly
for extension and offer these two proposed solutions, both of which would
need to be implemented in core Tomcat source code by Tomcat developers:
1) Let users specify the fully-qualified name of a Request subclass in
serve
DIGLLOYD INC wrote:
I've got another issue--
Then start another thread.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
Suhas Subramanya wrote:
Please let me know how this issue can be resolved.
Tell your users not to click on the stop button whilst waiting for their
page to appear.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.o
I've got another issue--
I want to place an index.jsp file in certain directories that simply
loads another page eg:
This works fine for a page in the same directory. But my site uses
relative links heavily, so if I do this:
All that pages relative links don't work, since they seem to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thierry,
Thierry Lam wrote:
| Does anyone know how I can specify two different realms so that each
| one of them search a different organization?
I have no experience with it, but my understanding is that JAASRealm is
capable of utilizing multiple s
Hello,
I need your help and advice in resolving the following SocketException error
I am getting from the catalina.log file.
Apr 14, 2008 8:05:54 AM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Software caused connection abort: socket write
erro
Hey folks,
Finally i found the one i wanted. Did a google recently and found this: If
you are looking for 64 bit amd exe for tomcat here is the solution.
Background
To install Tomcat in a 64bit architecture, download the ZIP installer from
the Apache web site and unzipped.
At this point
•
Does anyone know how I can specify two different realms so that each one of
them search a different organization?
From: Christopher Schultz [EMAIL PROTECTED]
Sent: Friday, April 25, 2008 10:03 AM
To: Tomcat Users List
Subject: Re: Realm/active directory: Ho
There's two versions of the 'setenv.sh' script that reference a
'WILY_JAVA_OPTIONS' environment variable, I'll check with the Unix admin
I'm working with to see to which one he tried.
- Forwarded by Vance A. Arocho/BHNSM/ISHSG/DIVADMIN/DOH on 04/25/2008
10:11 AM -
Fred and Antonio, thanks for responding.
I'm working with one of the Unix admins in my department, and will ask him
if he can try the wileytech.com site, since he should have a customer login
ID.
We tried updating one of the shell scripts for our Tomcat server, and now
it refuses to start up agai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thierry,
Christopher Schultz wrote:
| userSearch="(&(sAMAccount={0})(|(OU=Mails)(OU=Services))"
Hmm... that might not work. See the last comment on this page:
http://confluence.atlassian.com/display/DEV/How+to+write+a+LDAP+search+filter
Sorry :(
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thierry,
Thierry Lam wrote:
| I'm currently using the following realm configuration(Tomcat 5.5) and
| it's working fine:
|
|ldap://domain.com";
| referrals="follow"
| userBase="DC=domain,DC=com"
| userSearch="(
I'm currently using the following realm configuration(Tomcat 5.5) and it's
working fine:
ldap://domain.com";
referrals="follow"
userBase="DC=domain,DC=com"
userSearch="(sAMAccountName={0})"
userSubtree="true"
allRolesMode="strictAuthO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jaime,
Jaime Schettini wrote:
| Everytime I start Tomcat, I get this info: "Could not load
| java.lang.Object". I'm using Tomcat 6.0.14 embedded in NetBeans +
Hibernate
| + JSF1.2 + Richfaces 3.2.0.
What OS? What JDK/JRE? Did you install it yourself
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zach,
Zach Cox wrote:
| Hi Matthias - Unfortunately I think the Response class is just as
ill-suited
| for wrapping/extending as the Request class is. Which boggles my mind -
| isn't wrapping the Request and/or Response one of the primary intended
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Toni,
Toni Tortosa wrote:
| I have compiled openbravo software in my local laptop with tomcat 5.5.
| and java 6
[snip]
| My server is debian and it runs tomcat 5.5. and java 5.
There's your problem: you are trying to run classes compiled using a
n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Benoit,
Benoit Maisonny wrote:
| Christopher Schultz wrote:
|>
|> Benoit,
|>
|> Benoit Maisonny wrote:
|> | I suspect someone forgot to encode the URI in the Location: HTTP header
|> | on the 302 response, but maybe there is something missing in our
Khurram H Khan wrote:
I would appreciate it if someone could guide what I need to do
differently in the case of production environment where tomcat is
accessed through port 80.
Nothing. Something in your production configuration is wrong/different.
Maybe you are using a different realm (since
I need to know if Tomcat is deployed on a production environment, how
can I use its manager to stop and start a web application. I have
created a role named manager and its username and password. When I go to
URL http://IP_ADDRESS/manager/stop?path=/My_WebAp, it asks me for a
username and passw
Everytime I start Tomcat, I get this info: "Could not load
java.lang.Object". I'm using Tomcat 6.0.14 embedded in NetBeans + Hibernate
+ JSF1.2 + Richfaces 3.2.0.
First of all I thought that I was missing some annotated class in
hibernate.cfg.xml, but I filled it with all my classes and the info is
Hi Matthias - Unfortunately I think the Response class is just as ill-suited
for wrapping/extending as the Request class is. Which boggles my mind -
isn't wrapping the Request and/or Response one of the primary intended
usages of Filters & Valves? The Servlet API provides
HttpServletRequestWrapp
> From: Toni Tortosa [mailto:[EMAIL PROTECTED]
> Subject: Debian 4.0. and java 6
>
> Well, I tried to install java6 in my debian by means of backports
> unstable
Why don't you install a real JVM download from the Sun web site? You
should remove the existing one first to avoid confusion.
Alter
> From: Toni Tortosa [mailto:[EMAIL PROTECTED]
> Subject: java.io.FileNotFoundException:
> /var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser(
> Permission denied)
>
> Apr 25, 2008 7:37:41 AM
> org.apache.catalina.session.StandardManager doUnload
> SEVERE: IOException while saving pe
Here comes NetBeans to 'save' the day... I had a similar problem working
on a Swing project... My non java files kept being excluded all the
time...
-Mensagem original-
De: Andreas [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 25 de abril de 2008 07:42
Para: Tomcat Users List
Assun
ONCE AGAIN THNX TO ALL!
It turned out that NetBeans deployment in Tomcat was destroying
everything
The solution was to clean and build the project with Netbeans, but manuall
deploy the war file from
the Tomcat Manager...
Now everything works as it should...
I just can't believe the fru
Hello Pavel,
Pavel Pragin wrote:
1)I am having an issue withTomcat running out of threads it seems:
OS? Versions?
ps -dfm | grep tomc
tomcat 16983 1 0 Apr23 ?00:01:39 /usr/java/bin/java
-Xmx2000m -Djava.awt.headless=true
-Djava.util.logging.manager=org.apache.juli.ClassLoader
Christopher Schultz wrote:
Benoit,
Benoit Maisonny wrote:
| I suspect someone forgot to encode the URI in the Location: HTTP header
| on the 302 response, but maybe there is something missing in our
| configuration?
What is the default character set of the running JVM?
UTF-8, according to ja
One big thnx to all of you who have shown interest in my situation.
There has been some "progress"...
Marcus, I didnt try your code, since the problem doesnt occur just with
java, but also
if i manually create a new folder/file in windows while the server is up.
I get same problem.
The other
Hi:
Actually, I have 10 tomcat 5.5 servers running on Solaris 10 (x86), and
using Wily Introscope 7.1.
If there is any doubt I can help you with, please let me know.
Best,
***
Antonio Vidal FerrerÂ
Hello,
I've also this error
Apr 25, 2008 7:37:41 AM org.apache.catalina.session.StandardManager doUnload
SEVERE: IOException while saving persisted sessions:
java.io.FileNotFoundException:
/var/lib/tomcat5.5/work/Catalina/localhost/admin/SESSIONS.ser
(Permission denied)
java.io.FileNotFoundEx
49 matches
Mail list logo