zero args wrote:
> I don't what can cause the exception and why other apps can still
> work.Help please!
http://tomcat.apache.org/faq/memory.html
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail:
thanks a lot.
I got it.
> Date: Mon, 19 Nov 2007 18:45:58 +
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: [server.xml]Is there a file that defines the server.xml of
> tomcat?
>
> zhongliang zhang wrote:
>> As the thread title,is there a file(xsd or dtd)that defines
Always a good idea to read the manual
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html
also a good idea to read the comments carefully
Autodeploy
"If the Host autoDeploy attribute is "true", the Host will attempt to deploy
and
update web applications dynamically, as needed, for example
Hi All,
I get following exception every time I start my tomcat (version 5.5.20):
SEVERE: Failed to bind object: javax.naming.NamingException: Name is not valid
INFO [main] (ApplicationContext.java:646) - cgi: init: loglevel set to 0
20-Nov-2007 00:54:45 org.apache.catalina.core.NamingContextList
Hi
Right now I was using tomcat 5.5.25 and got the exception as shown below:
2007/11/16 21:44:01 org.apache.coyote.http11.Http11Processor process
致命的: Error processing request
java.lang.OutOfMemoryError: Java heap space
at org.apache.tomcat.util.buf.ByteChunk.allocate(ByteChunk.java:159)
Sorry, figured out the problem. If you see this behavior, try using Apache
elements instead of elements.
Paul Boone wrote:
>
> I've tried using variations of JkMount / JkUnmount to forward requests on
> to Tomcat, but what always happens is that:
> * any file served by Tomcat bypasses the
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Eric B." <
> put this in your servlet.xml file
>
> autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
>
>forwardAll="false" modJk="Path/To/mod_jk.so" />
>
OK.
> Start Tomcat it will generate the mod_jk.conf file under
> Tomcat/conf/auto
OK
> In the apache httpd.cong file...
I'm trying to get basic Apache authentication on Apache 2.0.59 to work with
Tomcat 5.5.25 using mod_jk 1.2.25.
I've tried using variations of JkMount / JkUnmount to forward requests on to
Tomcat, but what always happens is that:
* any file served by Tomcat bypasses the apache authentication
Hi All,
I found some old documentation and looking for
something more current than 2004 about how to use
Tomcat as a http proxy to say Apache. I am running a
test and want to keep Tomcat in front of Apache.
Thanks,
-Tony
___
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Mike Wannamaker [mailto:[EMAIL PROTECTED]
>> Subject: RE: Need my Protocol to be Seen in Tomcat!!
>>
>> I thought it was the other way around? Common is visible
>> to tomcat and web apps and shared was for
Eric B. wrote:
>>From a cursory inspection, it looks like the # naming convention wasn't
> thoroughly tested out for these types of scenarios in Tomcat's autodeployer.
> Either that, or I am missing something somewhere obvious.
What you are missing is that it was never intended to work in this w
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Johnny Kew
>"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B.
>> Subject: Re: How to Deploy WAR using a sub-context path?
>>
>> Is it really with a # in the file name??
>
>Yup.
>
>> Is there anyway to instruct tomc
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
Chuck is right... the application has to be the
Hi,
I am a newbie to both Apache and Tomcat.
I am using Apache 2.0.55, Tomcat 5.5.25, mod_jk 1.2.25 and Ubuntu (
2.6.17-10-server)
It seemed like I had the complete redirection working at one point, but
unfortunately after no apparent change (that I can recollect), things just
stopped working. I
"Eric B." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
>>> However, I now have a need to deploy my WAR under a context
>>> path that is not at the root level of my tomcat server.
>>>
>>> For ex
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B.
> Subject: Re: How to Deploy WAR using a sub-context path?
>
> Is it really with a # in the file name??
Yup.
> Is there anyway to instruct tomcat to rename the
> META-INF/context.xml file to be demo#application.xml
> instead of applica
>"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> However, I now have a need to deploy my WAR under a context
>> path that is not at the root level of my tomcat server.
>>
>> For example, I need to deploy my application.war under:
>> http://www.domain.com/
2.2.6 has a nasty bug were AJP connections are being closed
when they shouldn't. 2.2.7 will fix that. In the meantime,
trying building httpd with USE_ALTERNATE_IS_CONNECTED defined
as 0 (proxy_util.c).
On Nov 19, 2007, at 9:07 AM, Rainer Jung wrote:
Hi David,
TIME_WAIT is a normal TCP state af
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B.
> Subject: How to Deploy WAR using a sub-context path?
>
> However, I now have a need to deploy my WAR under a context
> path that is not at the root level of my tomcat server.
>
> For example, I need to deploy my application.war under:
Hi,
I have a Tomcat 6 server that is mapped to my httpd server using jkmounts.
Under normal conditions, everything is working fine. I am able to deploy
my wars as webapps using Tomcat's maanger & autodeployer without any issues.
However, I now have a need to deploy my WAR under a context path
Bárbara Vieira wrote:
> When I use that Realm, how the principals variable, that is declared in that
> class(MemoryRealm) as a HashMap, is loaded?
Configure Tomcat to use the MemoryRealm.
Start tomcat with JPDA debugging enabled.
Set a break point at the start of the authenticate() method.
Access
If I set the autoDeploy attribute to "true", then the application gets
dynamically deployed - I do NOT want that behavior. So I've set that
attribute to "false". But I would like the war file to be deployed when
tomcat is restarted - that is the behavior I'm trying to get, and hoping
to configure
Hamid Rahman Mohmand wrote:
> can some one tell me what might be the propbable causes and how can i get
> them sorted out?
Have you looked in logs?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-
zhongliang zhang wrote:
> As the thread title,is there a file(xsd or dtd)that defines the syntax of the
> server.xml of tomcat?
> if there is one,can anybody send it to me?
No. Because it is impossible to know in advance what custom valve, realm,
manager etc may be used and what the attributes ar
I was going to go down that path if I couldn't find some combination of
parameters to get the war file deployed on startup. It seems preferable (to
me, anyway) to be able to accomplish this via the parameters rather than
modifying the startup script, but if that is the only way, then so be it.
[EMAIL PROTECTED] wrote:
> Hello ,
> I`m trying to install and configure apache http server on AIX . Running
> into error below . Please advise .
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line
handled by autodeploy attribute of Host element
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
M--
- Original Message -
Wrom: EXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ
To:
Sent: Monday, November 19, 2007 12:12 PM
Subject: Application redeployment on Tomcat startup only
If all you need to redeploy to occur is remove directories, just modify
the statup script so it deleted the webapps directories.
Beth Hechanova a écrit :
Hi,
I am trying to configure Tomcat to only reploy my application war file
when Tomcat is started up. I have set the autoDeploy attribut
Hi,
I am trying to configure Tomcat to only reploy my application war file
when Tomcat is started up. I have set the autoDeploy attribute in
server.xml to false - this prevents my application from deploying
dynamically, which is the behavior that I want. But then when I restart
Tomcat I would
Hi everyone!!
I have a question about org.apache.catalina.realm.MemoryRealm.
When I use that Realm, how the principals variable, that is declared in that
class(MemoryRealm) as a HashMap, is loaded? I.e. How the data that is in the
file (ex. Tomcat-users.xml) is loaded to that variable?! Im t
Thanks for the reply Timothy.
"Timothy Wonil Lee" <[EMAIL PROTECTED]>
11/18/2007 10:12 PM
Please respond to
"Tomcat Users List"
To
"'Tomcat Users List'"
cc
Subject
RE: simple question on Tomcat-apache
Tomcat and HTTP Server are completely different product, and when you
download Tom
I`m trying to setup it for lawson app server (ERP) ,which does not
officially support 6.0 version (as per lawson admin) . Is anyone out
there using 6.0 with lawson ?
Thanks
Shekhar
"Caldarale, Charles R" <[EMAIL PROTECTED]>
11/18/2007 10:47 PM
Please respond to
"Tomcat Users List"
OK I'll give that a go !
Thanks Rainer for your help
D
On Mon, 2007-11-19 at 16:09 +0100, Rainer Jung wrote:
> David Cassidy wrote:
> > Hi Rainer,
> >
> > I've set the ttl to 120
> > re-run the last test with 30 concurrent connections
> >
> > 1 LISTEN
> > 25 CLOSE_WAIT
> > 26
David Cassidy wrote:
Hi Rainer,
I've set the ttl to 120
re-run the last test with 30 concurrent connections
1 LISTEN
25 CLOSE_WAIT
26 FIN_WAIT2
104 ESTABLISHED
924 TIME_WAIT
Not made too much difference. But as the test is only taking 20 secs max
none of the connecti
Hi Rainer,
I've set the ttl to 120
re-run the last test with 30 concurrent connections
1 LISTEN
25 CLOSE_WAIT
26 FIN_WAIT2
104 ESTABLISHED
924 TIME_WAIT
Not made too much difference. But as the test is only taking 20 secs max
none of the connections should have reached
David Cassidy wrote:
Hi !
This is using worker rather than prefork - apache 2.2.6 as comes with
fedora 7. I've changed /usr/sbin/httpd to be /usr/sbin/httpd.worker.
If I make a 1000 requests with ab with keep alive to apache - eg
ab -k -n 1000
then I get alot of connections from apache to tomc
Hi !
This is using worker rather than prefork - apache 2.2.6 as comes with
fedora 7. I've changed /usr/sbin/httpd to be /usr/sbin/httpd.worker.
If I make a 1000 requests with ab with keep alive to apache - eg
ab -k -n 1000
then I get alot of connections from apache to tomcat that are in
TIME_WAI
Niki Diulgerov wrote:
Hello there,
I was wonder if someone succeeded to implement this?
I can find many HOWTOs in internet describing how to setup IIS 4,5,6 +
tomcat but all are about IIS and tomcat running on the same machine.
Any link or advice will be appreciated.
Havin the web server and
Rocco Scappatura wrote:
Hello.
I would like to publish a Web application running under Tomcat.
I'm using Apache 2 as Web server.
Basically, I have two opportunities:
1) mod_jk
2) mod_proxy
I've tried the first. So I discover that I ve:
- Create an alias in httpd.conf so that al static pages
Hi David,
TIME_WAIT is a normal TCP state after a connection was successfully
closed. Only one side of the connection goes into TIME_WAIT, namely the
side that sent the first FIN.
So since you've got httpd and Tomcat on the same server, you first need
to find out, which side of the conection
Dears,
I have installed Tomcat version 4 using the windows installer. It is
installed and i tested the server once. I didn't see much problems using the
server. but now I have got a problem. The server is on and i have its icon
in the system tray, but it is stopped. When I try to start it again, it
Hi everybody,
Im managing a web application written with Spring. Im using Apache 2 ->
mod_jk as a load balancer -> Tomcat 5.5
I noticed that users are able to click several times at times and their
actions are queued. But Id prefer if the server drops any new request if
the first one is not
It almost sounds like it's more a config issue than
a module one... Using mod_proxy_ajp is nice because
you use normal httpd directives (ProxyPass. etc..)
to handle the stuff that TC needs to handle.
On Nov 17, 2007, at 8:20 PM, Rocco Scappatura wrote:
Hello.
I would like to publish a Web app
On Nov 17, 2007, at 5:15 PM, Pid wrote:
Gmail User wrote:
On Nov 9, 2007 11:19 PM, Gmail User <[EMAIL PROTECTED]> wrote:
Any ideas would be appreciated.
Just a follow-up since I never got a reply to this--or Gmail is
hiding
replies from me again.
As I found out, Tomcat always worked an
Is this worker or prefork MPM?
On Nov 15, 2007, at 4:03 AM, David Cassidy wrote:
Guys,
I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat.
apache config
-
BalancerMember ajp://localhost:8009 route=server1 min=0
smax=1000 max=1000 keepalive=On
2007/11/19, Ognjen Blagojevic <[EMAIL PROTECTED]>:
> I suppose you are using ActionForms. Try to extend ActionForm overriding
> your reset method which will set the character encoding, before the
> parameters are processed. Something like this:
well, I solved with a Valve that impose a default enc
For tomcat you can define JAVA_OPTS system variable to supply
additional parameters for the java machine. That includes the
possibility to define -Dyour.property=
See the comments at the begin of catalina.bat or catalina.sh.
You can either modify catalina.bat/.sh or whatever bat file that is
used
Hi Rainer,
Thanks a lot for quick response.
Let me try to follow your suggestion first.
I will update you later.
Again, thank you :)
Regards,
Martin
Rainer Jung-3 wrote:
>
> Hi Martin,
>
> lanes wrote:
>> Hi Rainer,
>>
>> my os is Red Hat Linux v7.3 2.96-112.
>>
>> this my workers.proper
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Johnny Kew
Tremal Naik wrote:
Oh, yes, you're right. I'm using version 1.1, that's why probably I
don't have that option available. Unfortunately I'm not allowed to
upgrade to a newer version...
I suppose you are using ActionForms. Try to extend ActionForm overriding
your reset method which will set the
Hello there,
I was wonder if someone succeeded to implement this?
I can find many HOWTOs in internet describing how to setup IIS 4,5,6 +
tomcat but all are about IIS and tomcat running on the same machine.
Any link or advice will be appreciated.
--
Best regards,
Nikolay Diulgerov
Network Admin
2007/11/19, Ognjen Blagojevic <[EMAIL PROTECTED]>:
> Which version of Struts are you using? 1.2.7 does support acceptCharset,
> as you can see here:
Oh, yes, you're right. I'm using version 1.1, that's why probably I
don't have that option available. Unfortunately I'm not allowed to
upgrade to a
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
This guy seems have located a 64 bit windows s
Tremal Naik wrote:
2007/11/16, Ognjen Blagojevic <[EMAIL PROTECTED]>:
Did you try to put acceptCharset="UTF-8" in the form tag?
well, I'm using Struts and it looks the html:form tag doesn't allow
any acceptCharset attribute. I tried to set the enctype attribute, but
with no effect.
Which ver
2007/11/16, Mark Thomas <[EMAIL PROTECTED]>:
>
> Some standard text I wrote a while ago follows. The most useful bit is
> probably the URIEncoding attribute on the connector.
Thanks Mark, I think I read your paper somewhere before I decided to
write to this help request. In fact, if you read caref
Hi Martin,
lanes wrote:
Hi Rainer,
my os is Red Hat Linux v7.3 2.96-112.
this my workers.properties =
Delete the next 3 lines, they are useless.
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/java/j2sdk1.4.1_02
ps=/
I hope you are not really trying to do ajp12?
If you are o
> My service gets installed, however when i try to start the service it
does not get started.
AFAIK the 64-bit versions of Windows will not start 32-bit apps as
services. (I ran into the same problem trying to use Vista-64 under Boot
Camp on a Mac: Apple's drivers only support 32-bit Windows versi
59 matches
Mail list logo