RES: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-13 Thread Paulo Alvim
Hi!

Anyone could tell us if TC 5.5.x has improvements in the JVM's perm memory
area management?

-Mensagem original-
De: Paulo Alvim [mailto:[EMAIL PROTECTED]
Enviada em: sábado, 9 de abril de 2005 14:53
Para: Tomcat Users List
Assunto: RES: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28


Thanks Michael...

But we had already tried to put both the "PropertyUtils.clearDescriptors();"
and the "Introspector.flushCaches();" in the ServletContextListener -
contextDestroyed and it didn't help so much (...) I'll try also with the
logging "LogManager.shutdown();".

But "try Tomcat 5.5x" - do you recommend that because it has improvements in
this area?

-Mensagem original-
De: Michael Echerer [mailto:[EMAIL PROTECTED]
Enviada em: sábado, 9 de abril de 2005 07:23
Para: Tomcat Users List
Assunto: Re: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28




Paulo Alvim wrote:
> Thank you all
>
> It's good to know that we're not alone...but since we used to have
workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
>
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
>
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-10 Thread Mieke Banderas
[EMAIL PROTECTED] said:

>I'm afraid the subject of this post caused it to go to my spam box, :->
Was that before or after you moved that "s"? 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RES: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-09 Thread Paulo Alvim
Thanks Michael...

But we had already tried to put both the "PropertyUtils.clearDescriptors();"
and the "Introspector.flushCaches();" in the ServletContextListener -
contextDestroyed and it didn't help so much (...) I'll try also with the
logging "LogManager.shutdown();".

But "try Tomcat 5.5x" - do you recommend that because it has improvements in
this area?

-Mensagem original-
De: Michael Echerer [mailto:[EMAIL PROTECTED]
Enviada em: sábado, 9 de abril de 2005 07:23
Para: Tomcat Users List
Assunto: Re: RES: JVM' sperm size always increase after hot deploy to
tomcat 5.0.28




Paulo Alvim wrote:
> Thank you all
>
> It's good to know that we're not alone...but since we used to have
workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
>
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
>
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-09 Thread Michael Echerer


Paulo Alvim wrote:
> Thank you all
> 
> It's good to know that we're not alone...but since we used to have workable
> 'hot deploy' others pre-J2EE App Servers our customers will insist with
> that - maybe we'll have to reconsider other App Server as our main
> Open-Source production environment option.
> 
> Does anyone know if JBoss 4 makes improvement in this area? I really can't
> believe that it's so hard...
> 
Guess that won't help, because JBoss uses Tomcat as web container.

Check: http://issues.apache.org/bugzilla/show_bug.cgi?id=26135 and try
Tomcat 5.5x

Generally these undeploy memory leakage issues are mainly "coded" into
the webapp or in libraries. Some references won't be garbage collected
when undeploying. There seem to be problems with commons-logging and
beanutils, but could also be self-made, of course.

Cheers,
Michael


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SPAM] - RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s) list error in the Text body - Found word(s) list error in the subject

2005-04-08 Thread Mufaddal Khumri
Is this a known issue on Windows XP? What is the work around if there is
any?

Thanks.

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:12 PM
To: Tomcat Users List
Subject: RE: [SPAM] - RE: [SPAM] - RE: Tomcat 5.5 hot deploy question -
Found word(s) list error in the Text body - Found word(s) list error in
the subject

Yes.

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:11 PM
To: 'Tomcat Users List'
Subject: [SPAM] - RE: [SPAM] - RE: Tomcat 5.5 hot deploy question -
Found word(s) list error in the Text body - Found word(s) list error in
the subject

Is your Tomcat server on Windows box?

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: April 8, 2005 4:58 PM
To: Tomcat Users List
Subject: RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list error in the Text body


I changed my Host definition to:

  


No change. I use an ant script to war up mywebapp and copy it under
tomcat.
The very first time I do this everything works fine. The second time I
try
to deploy my war file Tomcat complains that it cannot find the web.xml
file.
(I am tailing my stdout file).

Any clues?

-Original Message-
From: David Owens [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:47 PM
To: Tomcat Users List
Subject: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list
error in the Text body

Most likely a jar or resource file is locked, and tomcat cannot undeploy
the
last app.  Try turning on antiJarLocking and antiResourceLocking.

|)ave

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:38 PM
To: Tomcat Users List
Subject: Tomcat 5.5 hot deploy question 

Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I
see a
half exploded Or deleted mywebapp folder. By this I mean that the
mywebapp
folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some
jar
files because some objects are being refrenced still or something like
that?
I am guessing here wildly because I cant seem to resolve this issue.
What am
I missing?

Thanks


--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email. Consult your
physician prior to the use of any medical supplies or product.

--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:4256f040152786596096882!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SPAM] - RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s) list error in the Text body - Found word(s) list error in the subject

2005-04-08 Thread Mufaddal Khumri
Yes.

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:11 PM
To: 'Tomcat Users List'
Subject: [SPAM] - RE: [SPAM] - RE: Tomcat 5.5 hot deploy question -
Found word(s) list error in the Text body - Found word(s) list error in
the subject

Is your Tomcat server on Windows box?

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: April 8, 2005 4:58 PM
To: Tomcat Users List
Subject: RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list error in the Text body


I changed my Host definition to:

  


No change. I use an ant script to war up mywebapp and copy it under
tomcat.
The very first time I do this everything works fine. The second time I
try
to deploy my war file Tomcat complains that it cannot find the web.xml
file.
(I am tailing my stdout file).

Any clues?

-Original Message-
From: David Owens [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:47 PM
To: Tomcat Users List
Subject: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list
error in the Text body

Most likely a jar or resource file is locked, and tomcat cannot undeploy
the
last app.  Try turning on antiJarLocking and antiResourceLocking.

|)ave

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:38 PM
To: Tomcat Users List
Subject: Tomcat 5.5 hot deploy question 

Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I
see a
half exploded Or deleted mywebapp folder. By this I mean that the
mywebapp
folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some
jar
files because some objects are being refrenced still or something like
that?
I am guessing here wildly because I cant seem to resolve this issue.
What am
I missing?

Thanks


--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email. Consult your
physician prior to the use of any medical supplies or product.

--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:4256f040152786596096882!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s) list error in the Text body

2005-04-08 Thread Phillip Qin
Is your Tomcat server on Windows box?

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: April 8, 2005 4:58 PM
To: Tomcat Users List
Subject: RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list error in the Text body


I changed my Host definition to:

  


No change. I use an ant script to war up mywebapp and copy it under tomcat.
The very first time I do this everything works fine. The second time I try
to deploy my war file Tomcat complains that it cannot find the web.xml file.
(I am tailing my stdout file).

Any clues?

-Original Message-
From: David Owens [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:47 PM
To: Tomcat Users List
Subject: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s) list
error in the Text body

Most likely a jar or resource file is locked, and tomcat cannot undeploy the
last app.  Try turning on antiJarLocking and antiResourceLocking.

|)ave

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:38 PM
To: Tomcat Users List
Subject: Tomcat 5.5 hot deploy question 

Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I see a
half exploded Or deleted mywebapp folder. By this I mean that the mywebapp
folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some jar
files because some objects are being refrenced still or something like that?
I am guessing here wildly because I cant seem to resolve this issue. What am
I missing?

Thanks


--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email. Consult your
physician prior to the use of any medical supplies or product.

--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:4256f040152786596096882!


RE: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s) list error in the Text body

2005-04-08 Thread Mufaddal Khumri
I changed my Host definition to:

  


No change. I use an ant script to war up mywebapp and copy it under
tomcat. The very first time I do this everything works fine. The second
time I try to deploy my war file Tomcat complains that it cannot find
the web.xml file. (I am tailing my stdout file).

Any clues?

-Original Message-
From: David Owens [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:47 PM
To: Tomcat Users List
Subject: [SPAM] - RE: Tomcat 5.5 hot deploy question - Found word(s)
list error in the Text body

Most likely a jar or resource file is locked, and tomcat cannot undeploy
the last app.  Try turning on antiJarLocking and antiResourceLocking.

|)ave

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:38 PM
To: Tomcat Users List
Subject: Tomcat 5.5 hot deploy question 

Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I
see a half exploded Or deleted mywebapp folder. By this I mean that the
mywebapp folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some
jar files because some objects are being refrenced still or something
like that? I am guessing here wildly because I cant seem to resolve this
issue. What am I missing?

Thanks


--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email.
Consult your physician prior to the use of any medical
supplies or product.

--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5 hot deploy question

2005-04-08 Thread David Owens
Most likely a jar or resource file is locked, and tomcat cannot undeploy
the last app.  Try turning on antiJarLocking and antiResourceLocking.

|)ave

-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:38 PM
To: Tomcat Users List
Subject: Tomcat 5.5 hot deploy question 

Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I
see a half exploded Or deleted mywebapp folder. By this I mean that the
mywebapp folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some
jar files because some objects are being refrenced still or something
like that? I am guessing here wildly because I cant seem to resolve this
issue. What am I missing?

Thanks


--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email.
Consult your physician prior to the use of any medical
supplies or product.

--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.5 hot deploy question

2005-04-08 Thread Mufaddal Khumri
Hi,

>From what I understand if I want a webapp to be auto deployed from a war
file under tomcat I should have the following:

  
...
...


The problem is that when I copy a new mywebapp.war file in to tomcat I
see a half exploded Or deleted mywebapp folder. By this I mean that the
mywebapp folder contains only certain folders and files. 

Any clues as to why this maybe happening? Is tomcat holding on to some
jar files because some objects are being refrenced still or something
like that? I am guessing here wildly because I cant seem to resolve this
issue. What am I missing?

Thanks

--
This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this 
email in error please notify the system manager. Please
note that any views or opinions presented in this email 
are solely those of the author and do not necessarily
represent those of the company. Finally, the recipient
should check this email and any attachments for the 
presence of viruses. The company accepts no liability for
any damage caused by any virus transmitted by this email.
Consult your physician prior to the use of any medical
supplies or product.
--


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RES: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-08 Thread Paulo Alvim
Thank you all

It's good to know that we're not alone...but since we used to have workable
'hot deploy' others pre-J2EE App Servers our customers will insist with
that - maybe we'll have to reconsider other App Server as our main
Open-Source production environment option.

Does anyone know if JBoss 4 makes improvement in this area? I really can't
believe that it's so hard...



-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 8 de abril de 2005 01:07
Para: Tomcat Users List
Assunto: Re: JVM' sperm size always increase after hot deploy to tomcat
5.0.28


Hi,

I'm afraid the subject of this post caused it to go to my spam box, :->
L.

On Apr 8, 2005 6:18 AM, Paulo Alvim <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We had a "war" file with about 30MB using JSP pre-compilation and hot
deploy
> as suggested in the Tomcat web-site. But after using the hot deploy a few
> times we received "out of memory" messages - in the JVM permanent area
> (perm).
>
> After migrating to 1.5.0_02 - to get better JVM information - we could see
> that the used perm size always increase until this max size, in "every
> Tomcat app reloading" (even with exploded files and Ant 'touches'). We
> always lost 7 to 15MB of the perm area in every reload process - and this
> area is never collected...
>
> Anyone could help us with more information here (maybe about TC class
> loaders or perm area)?
>
> Is there anyone with the same problem?
>
> Thanks in advance!
>
> Paulo Alvim
> Powerlogic
> Brazil
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
._
:|  .| |.|/.|_
:|__.|_|.|\.|_
:0421 276 282.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JVM' sperm size always increase after hot deploy to tomcat 5.0.28

2005-04-07 Thread edencane
Hi,

I'm afraid the subject of this post caused it to go to my spam box, :->
L.

On Apr 8, 2005 6:18 AM, Paulo Alvim <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> We had a "war" file with about 30MB using JSP pre-compilation and hot deploy
> as suggested in the Tomcat web-site. But after using the hot deploy a few
> times we received "out of memory" messages - in the JVM permanent area
> (perm).
> 
> After migrating to 1.5.0_02 - to get better JVM information - we could see
> that the used perm size always increase until this max size, in "every
> Tomcat app reloading" (even with exploded files and Ant 'touches'). We
> always lost 7 to 15MB of the perm area in every reload process - and this
> area is never collected...
> 
> Anyone could help us with more information here (maybe about TC class
> loaders or perm area)?
> 
> Is there anyone with the same problem?
> 
> Thanks in advance!
> 
> Paulo Alvim
> Powerlogic
> Brazil
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
._
:|  .| |.|/.|_ 
:|__.|_|.|\.|_
:0421 276 282.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RES: JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-07 Thread Rob Ross
On Apr 7, 2005, at 3:34 PM, Paulo Alvim wrote:
But is this really an official "known issue"? Do you know more links  
about
the problem?

Well I just did a google search for "tomcat undeploy memory leak".  
Here's three references:

http://66.102.7.104/search?q=cache:UhbMR4dZfhoJ:www.jroller.com/page/ 
sxh/20040105+tomcat+deploy+memory+leak&hl=en&client=safari

http://www.junlu.com/msg/153876.html
http://66.102.7.104/search?q=cache:GnJoip0vndkJ:mail- 
archive.objectweb.org/barracuda/2004-06/ 
msg00028.html+tomcat+undeploy+memory+leak&hl=en&client=safari

Rob Ross, Senior Software Engineer
E! Networks
[EMAIL PROTECTED]
---
"Beware of he who would deny you access to information, for in his  
heart he dreams himself your master." -- Commissioner Pravin Lal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RES: JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-07 Thread Paulo Alvim
But is this really an official "known issue"? Do you know more links about
the problem?

-Mensagem original-
De: Rob Ross [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 7 de abril de 2005 17:53
Para: Tomcat Users List
Assunto: Re: JVM's perm size always increase after hot deploy to tomcat
5.0.28


Yes, this is a well known problem with redeploying wars in Tomcat. We
have to shutdown and restart the Tomcat server periodically after
redeploying a number of times.

It's a memory leak.

On Apr 7, 2005, at 1:48 PM, Paulo Alvim wrote:

> Hi,
>
> We had a "war" file with about 30MB using JSP pre-compilation and hot
> deploy
> as suggested in the Tomcat web-site. But after using the hot deploy a
> few
> times we received "out of memory" messages - in the JVM permanent area
> (perm).
>
> After migrating to 1.5.0_02 - to get better JVM information - we could
> see
> that the used perm size always increase until this max size, in "every
> Tomcat app reloading" (even with exploded files and Ant 'touches'). We
> always lost 7 to 15MB of the perm area in every reload process - and
> this
> area is never collected...
>
> Anyone could help us with more information here (maybe about TC class
> loaders or perm area)?
>
> Is there anyone with the same problem?
>
> Thanks in advance!
>
> Paulo Alvim
> Powerlogic
> Brazil
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
Rob Ross, Senior Software Engineer
E! Networks
[EMAIL PROTECTED]
---
"Beware of he who would deny you access to information, for in his
heart he dreams himself your master." -- Commissioner Pravin Lal


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-07 Thread Rob Ross
Yes, this is a well known problem with redeploying wars in Tomcat. We 
have to shutdown and restart the Tomcat server periodically after 
redeploying a number of times.

It's a memory leak.
On Apr 7, 2005, at 1:48 PM, Paulo Alvim wrote:
Hi,
We had a "war" file with about 30MB using JSP pre-compilation and hot 
deploy
as suggested in the Tomcat web-site. But after using the hot deploy a 
few
times we received "out of memory" messages - in the JVM permanent area
(perm).

After migrating to 1.5.0_02 - to get better JVM information - we could 
see
that the used perm size always increase until this max size, in "every
Tomcat app reloading" (even with exploded files and Ant 'touches'). We
always lost 7 to 15MB of the perm area in every reload process - and 
this
area is never collected...

Anyone could help us with more information here (maybe about TC class
loaders or perm area)?
Is there anyone with the same problem?
Thanks in advance!
Paulo Alvim
Powerlogic
Brazil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Rob Ross, Senior Software Engineer
E! Networks
[EMAIL PROTECTED]
---
"Beware of he who would deny you access to information, for in his 
heart he dreams himself your master." -- Commissioner Pravin Lal

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JVM's perm size always increase after hot deploy to tomcat 5.0.28

2005-04-07 Thread Paulo Alvim
Hi,

We had a "war" file with about 30MB using JSP pre-compilation and hot deploy
as suggested in the Tomcat web-site. But after using the hot deploy a few
times we received "out of memory" messages - in the JVM permanent area
(perm).

After migrating to 1.5.0_02 - to get better JVM information - we could see
that the used perm size always increase until this max size, in "every
Tomcat app reloading" (even with exploded files and Ant 'touches'). We
always lost 7 to 15MB of the perm area in every reload process - and this
area is never collected...

Anyone could help us with more information here (maybe about TC class
loaders or perm area)?

Is there anyone with the same problem?

Thanks in advance!

Paulo Alvim
Powerlogic
Brazil


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



No hot deploy possible for ROOT context app?

2004-06-10 Thread Fred Toth
Hi all,
I've been working on setting up an application in the root
context, meaning I configure it via this in server.xml:

This works fine, and my application gets loaded properly
at tomcat start-up.
I just want to make sure I'm not missing any tricks. This
approach seems to eliminate the possibility of hot deploy,
right? Meaning, any time I change my war file, I need to
restart tomcat?
Next I will try an expanded war and reloadable classes, but
any comments would be appreciated.
This is 4.1.29 under jboss.
Thanks,
Fred
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Hot deploy

2004-05-26 Thread Emerson Cargnin
dai cara!! :P
you have to undeploy before deploying again an already existing 
application...


Claudio Carvalho wrote:
Cláudio CarvalhoHi,
Does anybody know how to make a deploy on a running tomcat (hot deploy)?
When I try do it using the Tomcat Web Application Manager, I got the following message
FAIL - Application already exists at path /myapplicationThanks.

--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Hot deploy

2004-05-26 Thread Claudio Carvalho
Cláudio CarvalhoHi,

Does anybody know how to make a deploy on a running tomcat (hot deploy)?
When I try do it using the Tomcat Web Application Manager, I got the following message
FAIL - Application already exists at path /myapplicationThanks.

RE: Hot deploy?

2003-12-08 Thread Shapira, Yoav

Howdy,
Hot deployment as you describe exists and is enabled by default, i.e.
you don't have to do anything but drop the WAR into the webapps
directory.  This is true for tomcat 4 as well as tomcat 5, for which you
can stop waiting as it's available already.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Chris [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 08, 2003 1:07 PM
>To: [EMAIL PROTECTED]
>Subject: Hot deploy?
>
>Hi all,
>
>I'm very much looking forward to Tomcat 5.x! Reading the docs, I can't
tell
> if Tomcat 5.0 offers JBoss-style hot-deployment of WARs or not. By
"JBoss-
>style",
>I mean all I have to do is drop a new WAR into a deployment directory,
and
>it will
>get picked up and redeployed. Section 4 of the User's Guide
("Deployment")
>implies
>that this is possible, using something called the host's "autodeploy"
>attribute.
>However, Section 3 ("First Webapp") seems to have an exhaustive list of
all
>possible deployment methods, and automatic hot deployment is not
mentioned.
>
>Does such hot deployment exist? Or is the only option to use the
deployment
>Ant tasks?
>
>Thanks,
>Chris
>
>
>__
>Do you Yahoo!?
>New Yahoo! Photos - easier uploading and sharing.
>http://photos.yahoo.com/
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Hot deploy?

2003-12-08 Thread Chris
Hi all,

I'm very much looking forward to Tomcat 5.x! Reading the docs, I can't tell
 if Tomcat 5.0 offers JBoss-style hot-deployment of WARs or not. By "JBoss-style", 
I mean all I have to do is drop a new WAR into a deployment directory, and it will 
get picked up and redeployed. Section 4 of the User's Guide ("Deployment") implies 
that this is possible, using something called the host's "autodeploy" attribute. 
However, Section 3 ("First Webapp") seems to have an exhaustive list of all 
possible deployment methods, and automatic hot deployment is not mentioned.

Does such hot deployment exist? Or is the only option to use the deployment 
Ant tasks?

Thanks,
Chris


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: "hot" deploy

2003-11-21 Thread Rodrigo Ruiz
Leonardo Kenji Shikida wrote:

is there an easy way to deploy a web application over another existent
one without stopping tomcat and without killing the current sessions?
 

Hi Leonardo,
You can redeploy a webapp through the admin or manager applications. I 
have not tested myself, but I think that if you configure a persistent 
session manager (you can find more info on this in the configuration 
reference), active sessions should be stored before the webapp shutdown, 
and reloaded upong restarting it.

HTH,
Rodrigo Ruiz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: "hot" deploy

2003-11-20 Thread Leonardo Kenji Shikida
looks like a windows solution... is there something for UNIX?

-- 

[]

Leonardo Kenji Shikida
Vetta Technologies
http://www.vettatech.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: "hot" deploy

2003-11-19 Thread [EMAIL PROTECTED]
I have been using "Likha DevCentre" to do just that.  Download from
http://download.com.com
Makes my life a little bit easier.

Enjoy.

- Original Message - 
From: "Leonardo Kenji Shikida" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 8:38 AM
Subject: "hot" deploy


> is there an easy way to deploy a web application over another existent
> one without stopping tomcat and without killing the current sessions?
>
> -- 
>
> []
>
> Leonardo Kenji Shikida
> Vetta Technologies
> http://www.vettatech.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



"hot" deploy

2003-11-19 Thread Leonardo Kenji Shikida
is there an easy way to deploy a web application over another existent
one without stopping tomcat and without killing the current sessions?

-- 

[]

Leonardo Kenji Shikida
Vetta Technologies
http://www.vettatech.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FW: Hot deploy in Tomcat4 and Tomcat5

2003-11-13 Thread JJ O'Kelly - CPX Mngd Services


-Original Message-
From: Nguyen Anh Tuan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 00:18
To: Tomcat Users List
Subject: Re: Hot deploy in Tomcat4 and Tomcat5


Hi,
I try to deploy the example attached with this mail in
the folder /webaaps. This is a deployment in
appBase directory of Tomcat, and requires no further
configuration.

It is a sample from a book.
It can be run like this:
http://localhost:8080/chapter04/login.html
Then you can input username and passwork to get the
account statement. 
You can try username/password : ann/aaa
It is very simple.

With Tomcat 3.2, it works well.

However, with Tomcat 4.1.29 and Tomcat 5.0.14, when I
click the button "Login", I receive this error:

HTTP Status 404 - /chapter04/servlet/LoginServlet

-
type Status report

message /chapter04/servlet/LoginServlet

description The requested resource
(/chapter04/servlet/LoginServlet) is not available.

Do you have any idea why a deployment like this works
with Tomcat 3.2, but not with 4.1 and 5.0 ?

Thank you.


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



chapter04.zip
Description: chapter04.zip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi, Chris,
Thank you very much for your help. It works now.
I am not aware of the change, because in the real
work, I deploy my apps outside of Tomcat, so I have to
do all the configurations, mappings ...

But today I am just lazy, and try to deploy it inside
Tomcat to play, and get trouble :-)

Thank you.

--- Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> > With Tomcat 3.2, it works well.
> > 
> > However, with Tomcat 4.1.29 and Tomcat 5.0.14,
> when I
> > click the button "Login", I receive this error:
> > 
> > HTTP Status 404 - /chapter04/servlet/LoginServlet
> > 
> >
>
-
> > type Status report
> > 
> > message /chapter04/servlet/LoginServlet
> > 
> > description The requested resource
> > (/chapter04/servlet/LoginServlet) is not
> available.
> 
> Tomcat no longer has the "servlet" servlet turned on
> by default. In 
> order to support a servlet URL, you need to have a
> servlet-mapping 
> element for it in your web.xml file. You must have
> an old book :)
> 
> -chris


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi,
I try to deploy the example attached with this mail in
the folder /webaaps. This is a deployment in
appBase directory of Tomcat, and requires no further
configuration.

It is a sample from a book.
It can be run like this:
http://localhost:8080/chapter04/login.html
Then you can input username and passwork to get the
account statement. 
You can try username/password : ann/aaa
It is very simple.

With Tomcat 3.2, it works well.

However, with Tomcat 4.1.29 and Tomcat 5.0.14, when I
click the button "Login", I receive this error:

HTTP Status 404 - /chapter04/servlet/LoginServlet

-
type Status report

message /chapter04/servlet/LoginServlet

description The requested resource
(/chapter04/servlet/LoginServlet) is not available.

Do you have any idea why a deployment like this works
with Tomcat 3.2, but not with 4.1 and 5.0 ?

Thank you.


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

chapter04.zip
Description: chapter04.zip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Christopher Schultz
With Tomcat 3.2, it works well.

However, with Tomcat 4.1.29 and Tomcat 5.0.14, when I
click the button "Login", I receive this error:
HTTP Status 404 - /chapter04/servlet/LoginServlet

-
type Status report
message /chapter04/servlet/LoginServlet

description The requested resource
(/chapter04/servlet/LoginServlet) is not available.
Tomcat no longer has the "servlet" servlet turned on by default. In 
order to support a servlet URL, you need to have a servlet-mapping 
element for it in your web.xml file. You must have an old book :)

-chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Hot deploy in Tomcat4 and Tomcat5

2003-11-12 Thread Nguyen Anh Tuan
Hi,
I try to deploy the example attached with this mail in
the folder /webaaps. This is a deployment in
appBase directory of Tomcat, and requires no further
configuration.

It is a sample from a book.
It can be run like this:
http://localhost:8080/chapter04/login.html
Then you can input username and passwork to get the
account statement. 
You can try username/password : ann/aaa
It is very simple.

With Tomcat 3.2, it works well.

However, with Tomcat 4.1.29 and Tomcat 5.0.14, when I
click the button "Login", I receive this error:

HTTP Status 404 - /chapter04/servlet/LoginServlet

-
type Status report

message /chapter04/servlet/LoginServlet

description The requested resource
(/chapter04/servlet/LoginServlet) is not available.

Do you have any idea why a deployment like this works
with Tomcat 3.2, but not with 4.1 and 5.0 ?

Thank you.



__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy does not work?

2003-06-29 Thread Jon Haugsand
* Yoav Shapira
> Howdy,
> Are there any errors in the logs when you redeploy?  Does 
> a simple reload (not redeploy) work?


==> localhost_log.2003-06-30.txt <==
at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
at org.apache.catalina.core.StandardService.stop(Unknown Source)
at org.apache.catalina.core.StandardServer.stop(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Unknown Source)
at org.apache.catalina.startup.Catalina.execute(Unknown Source)
at org.apache.catalina.startup.Catalina.process(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

2003-06-30 08:34:08 StandardHost[localhost]: Removing web application at context path 
/tilgang

==> localhost_tilgang_log.2003-06-30.txt <==
2003-06-30 08:21:44 StandardWrapper[/tilgang:invoker]: Loading container servlet 
invoker
2003-06-30 08:21:44 invoker: init
2003-06-30 08:21:44 jsp: init
2003-06-30 08:21:44 StandardContext[/tilgang]: Starting completed
2003-06-30 08:34:08 StandardContext[/tilgang]: Stopping
2003-06-30 08:34:08 StandardContext[/tilgang]: Stopping filters
2003-06-30 08:34:08 StandardContext[/tilgang]: Processing standard container shutdown
2003-06-30 08:34:08 ContextConfig[/tilgang]: ContextConfig: Processing STOP
2003-06-30 08:34:08 StandardContext[/tilgang]: Sending application stop events
2003-06-30 08:34:08 StandardContext[/tilgang]: Stopping complete

==> banklab7_log.2003-06-30.txt <==
2003-06-30 08:35:53 HostConfig[banklab7]: Deploying discovered web applications
2003-06-30 08:36:08 HostConfig[banklab7]: Deploying discovered web applications
2003-06-30 08:36:23 HostConfig[banklab7]: Deploying discovered web applications
...
...

It keeps pushing the last line above.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy does not work?

2003-06-29 Thread Jon Haugsand
* Yoav Shapira
> Howdy,
> Are there any errors in the logs when you redeploy?  Does 
> a simple reload (not redeploy) work?

How do you do "a simple reload"?

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Hot deploy does not work?

2003-06-27 Thread Shapira, Yoav

Howdy,
Are there any errors in the logs when you redeploy?  Does
a simple reload (not redeploy) work?

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Jon Haugsand [mailto:[EMAIL PROTECTED]
>Sent: Friday, June 27, 2003 11:46 AM
>To: Tomcat Users List
>Subject: Re: Hot deploy does not work?
>
>* Jon Haugsand
>> * ben jessel
>>> add reloadable="true" in with the Context parameters
>>
>> Did so:
>>>  reloadable="true" />
>
>No, I mean this:
>
>reloadable="true" />
>
>
>It does not help though.
>
>--
> Jon Haugsand, [EMAIL PROTECTED]
> http://www.norges-bank.no
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
* Jon Haugsand
> * ben jessel
>> add reloadable="true" in with the Context parameters
>
> Did so:
>reloadable="true" />

No, I mean this:

  


It does not help though.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
* ben jessel
> add reloadable="true" in with the Context parameters

Did so:
  

 /bin/ls -l /var/tomcat4/tilgang/
total 741
-rw-r--r--1 nbulo1   tomcat4754228 Jun 27 17:23 tilgang.war


But no deployment :-(

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot deploy does not work?

2003-06-27 Thread ben . jessel
add reloadable="true" in with the Context parameters




Jon Haugsand <[EMAIL PROTECTED]>
27/06/2003 15:43
Please respond to "Tomcat Users List"

 
To: <[EMAIL PROTECTED]>
    cc: 
    Subject:Hot deploy does not work?

Running tomcat 4.1 installed from RPM things look fine, but for some
reason or another I cannot get hot (re)deployment to work.  Copying a
war file into /var/tomcat4/webapps makes it jus lay there.

I mean this worked yesterday :-( but I cannot imagine what I have done
differently today except changing server.xml to use jdbc for
authentication.

I see that there is the following code in server.xml:

  

Is this what it should look like?  Other points to look into?

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Hot deploy does not work?

2003-06-27 Thread Jon Haugsand
Running tomcat 4.1 installed from RPM things look fine, but for some
reason or another I cannot get hot (re)deployment to work.  Copying a
war file into /var/tomcat4/webapps makes it jus lay there.

I mean this worked yesterday :-( but I cannot imagine what I have done
differently today except changing server.xml to use jdbc for
authentication.

I see that there is the following code in server.xml:

  

Is this what it should look like?  Other points to look into?

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hot Deploy an Application in Tomcat 4.1.12?

2002-11-11 Thread Craig R. McClanahan


On Mon, 11 Nov 2002, Ryan Cornia wrote:

> Date: Mon, 11 Nov 2002 16:35:25 -0700
> From: Ryan Cornia <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Hot Deploy an Application in Tomcat 4.1.12?
>
> Is there a way to "hot" deploy a new application into tomcat 4.1.12
> without restarting? The catch is I need to setup a JNDI datasource in
> the server.xml. Is there a way to do that, have tomcat recognize the new
> context and create the new JNDI resource without having to do a restart.
>

You can do this with 4.1 (but not 4.0), because you can use the manager
webapp to deploy a "context config file" in addition to, or instead of, a
WAR or directory.  (If you're using "/deploy" instead of "/install", you
can include the context config file in the WAR at "/META-INF/context.xml"
if you enable this feature in the  element.)

What's a "context config file"?  It's a separate XML file that contains
just the  element, and any nested elements such as JNDI resource
definitions.  This also works for auto-deployment from the "webapps"
directory -- see the "admin.xml" and "manager.xml" files (in
$CATALINA_HOME/webapps) for examples of how this is done.

> OS is linux if that makes a difference.
>

Works for Windows too :-).

> Thanks,
> Ryan
>

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Hot Deploy an Application in Tomcat 4.1.12?

2002-11-11 Thread Ryan Cornia
Is there a way to "hot" deploy a new application into tomcat 4.1.12
without restarting? The catch is I need to setup a JNDI datasource in
the server.xml. Is there a way to do that, have tomcat recognize the new
context and create the new JNDI resource without having to do a restart.

OS is linux if that makes a difference.

Thanks,
Ryan


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Hot Deploy?

2001-06-30 Thread Vinay Menon

Hello Folks,
Is 'hot deploy' something that is being planned for Tomcat 4.0. I use
Tomcat with JBoss and do not use an EAR file to deploy to the combination
... instead deploy a server side jar for JBoss and the compiled classes for
Tomcat. If I stick to the current method of deployment will Tomcat 4.0
support automatic loading of modified classes?  Currently I get
ClassCastExceptions if I recompile classes - cause the classloaders get
confused I guess!


.menon




Re: Hot Deploy.

2001-05-15 Thread Bip Thelin

On Tue, 15 May 2001, Frans Verhoef wrote:

> Why do you need to edit web.xml, whenever you add a servlet?
> I do not think there is anything editable that will help in adding 
> servlets in the web.xml file.
> 
> If you add a new servlet in an existing context, it should be 
> automatically being recognised and run.
> 
> Otherwise, if you want to add it in a new context, you need to 
> change the server.xml, add the servlet and stop/start tomcat.

Yes you are right, I think why he wanted to edit web.xml was
to map the servlet to a url pattern. i.e. /myservlet/

..bip




Re: Hot Deploy.

2001-05-15 Thread Frans Verhoef

Why do you need to edit web.xml, whenever you add a servlet?
I do not think there is anything editable that will help in adding 
servlets in the web.xml file.

If you add a new servlet in an existing context, it should be 
automatically being recognised and run.

Otherwise, if you want to add it in a new context, you need to 
change the server.xml, add the servlet and stop/start tomcat.

Frans

On 15 May 2001, at 2:34, Bip Thelin wrote:

> On Tue, 15 May 2001, Allan Kamau wrote:
> 
> > is there such a thing like Hot deployment of new
> > servlets and/or servlets.
> > this requires the editing of the context's web.xml,
> > can this be done without TC restart?.
> 
> There is no HotDeploy, however you can set a  to
> be reloadable which means that servlet classes is reloaded if
> changed. If you want to add a servlet you will have to edit
> web.xml and restart tomcat.
> 
>   ..bip
> 
> 
> 





Re: Hot Deploy.

2001-05-15 Thread Bip Thelin

On Tue, 15 May 2001, Allan Kamau wrote:

> is there such a thing like Hot deployment of new
> servlets and/or servlets.
> this requires the editing of the context's web.xml,
> can this be done without TC restart?.

There is no HotDeploy, however you can set a  to
be reloadable which means that servlet classes is reloaded if
changed. If you want to add a servlet you will have to edit
web.xml and restart tomcat.

..bip





Re: Hot Deploy.

2001-05-15 Thread Oki DZ

Allan Kamau wrote:
> 
> is there such a thing like Hot deployment of new
> servlets and/or servlets.
> this requires the editing of the context's web.xml,
> can this be done without TC restart?.

Just a comment...
If Tomcat can be shutdown via a port, why can't it be told to read the
new config using the same way? Restarting doesn't have to be done by
shutting down the JVM; just read the new config, and apply the new
values internally.

Oki



Hot Deploy.

2001-05-15 Thread Allan Kamau

is there such a thing like Hot deployment of new
servlets and/or servlets.
this requires the editing of the context's web.xml,
can this be done without TC restart?.

Allan.


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/