AW: Tomcat failover

2007-09-14 Thread hans.mader
Hi Andrew,

if you mean http sessions, try terracotta for session replication
and apache webserver mod_balancer for balancing your requests.

I recently tried this setup and it seemed to be working very well
(for test purposes).

Regards, hans

-Ursprüngliche Nachricht-
Von: Andrew Hole [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. September 2007 18:30
An: Tomcat Users List
Betreff: Tomcat failover


Hello!

I've two tomcat instances connected to an Oracle database and I'm using
connection pool.
If one of the instances crashes, exists some way to repair the sessions
established with the database and to be processed for the other instance?

Thanks a lot
Andrew





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hi Filip,

we are using ANT script for deployment and the manager application.

Here's the "redeploy" script (only the tc specific tasks):

We copy the war and .xml to the server,
perform deployment then, and delete after that.
The deploy/undeploy will be done only by the manager app itself.






Regards, Hans.


-Ursprüngliche Nachricht-
Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. August 2007 19:15
An: Tomcat Users List
Betreff: Re: Tomcat Session Replication at undeploy/install (6.0.14 /
windows)


[EMAIL PROTECTED] wrote:
> Hello,
>
> if I reload a context, all sessions are going to be 
> serialized and deserialized automatically.
>
> Is the same possible at undeploy / deploy?
>   
yes, works the same way
> The problem is, that all users are thrown out of their apps
> if we "redeploy" under production.
>   
wanna give us a test case?

Filip
> (I know thats not recommended, but sometimes its really necessary...)
>
> Thanks!
>
> Hans.
>
>
>
>
>
> Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
> bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
> nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
> erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
> kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
> verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu 
> loeschen. Vielen Dank. 
>
> This message is intended only for use by the named addressee and may contain 
> privileged and/or confidential information. If you are not the named 
> addressee, you should not disseminate, copy, or take any action in reliance 
> on it. If you have received this message in error, please immediately notify 
> the sender of this message and delete this message and any attachment. Thank 
> you.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>   


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hello,

if I reload a context, all sessions are going to be 
serialized and deserialized automatically.

Is the same possible at undeploy / deploy?

The problem is, that all users are thrown out of their apps
if we "redeploy" under production.
(I know thats not recommended, but sometimes its really necessary...)

Thanks!

Hans.





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: How to avoide delete context.xml - 6.0.14

2007-08-09 Thread hans.mader
This is application related logging on application unload (struts plugin):

> com.magnasteyr.josf.InitLog4JPlugin ... try to clean up FileHandles for 
> context [XJOSF]
> com.magnasteyr.josf.InitLog4JPlugin ... Clean up FileHandles finished for 
> context [XJOSF]


Now I used the manager application forin my ANT 
scripts,
and I configured the context with  the antiJARLocking, antiResourceLocking 
attributes ( both true).

It works!!! 

The first thing is, that the server makes a copy of the context.xml into the 
conf/Catalina/localhost/,
and if you place a new WAR file into webapps, a reload will be done, but the 
context.xml would not be deleted...

The second thing could depend on app-related stuff (file locking), because with 
the "locking" flags I could 
undeploy and deploy properly.

Thanks for your assistance.

Regards, Hans.

-Ursprüngliche Nachricht-
Von: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 08. August 2007 16:49
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Hassan,
>
> I did exactly that way you described to me,
> but the 2nd deployment still dosn't work properly.

You might want to create a very simple WAR file and see if it behaves
the same way...

> The only way that works (not always) is to delete the WAR file manually,
> wait until the webapp is undeployed and then place the war file again.

> INFO: Undeploying context [/xjosf]
> com.magnasteyr.josf.InitLog4JPlugin ... try to clean up FileHandles for 
> context [XJOSF]
> com.magnasteyr.josf.InitLog4JPlugin ... Clean up FileHandles finished for 
> context [XJOSF]

Those two lines make me wonder -- since you're running Windows,
you might look at antiJARLocking and antiResourceLocking here:



My feeling is that this is more likely app-related than config-related
at this point; if you can create a WAR file reproducing the problem
(without proprietary material/external dependencies)  I'll be happy
to try it.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: How to avoide delete context.xml - 6.0.14

2007-08-07 Thread hans.mader
Hi Hassan,

I did exactly that way you described to me,
but the 2nd deployment still dosn't work properly.

Even a server restart does not make the context working again
The only way that works (not always) is to delete the WAR file manually,
wait until the webapp is undeployed and then place the war file again.

I used a new Tomcat installation and a META-INF/context.xml as here:



..


What do you mean?

Regards, Hans



1st deployment:

08.08.2007 07:12:31 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp 
conf/context.xml
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp conf/context.xml
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf 
Catalina/localhost/context.xml.default
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null
08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig 
processDefaultWebConfig
FEIN: Processing context [/xjosf] web configuration resource 
file://C:\tomcat-6.0.14tmp\conf\web.xml
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig 
applicationWebConfig
FEIN: Parsing application web.xml file at jndi:/localhost/xjosf/WEB-INF/web.xml
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContextValve/1.0
08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start
FEIN: ==


2nd deployment:
-
INFO: Undeploying context [/xjosf]
com.magnasteyr.josf.InitLog4JPlugin ... try to clean up FileHandles for context 
[XJOSF]
com.magnasteyr.josf.InitLog4JPlugin ... Clean up FileHandles finished for 
context [XJOSF]
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig stop
FEIN: ContextConfig: Processing STOP
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig destroy
FEIN: Cannot find message associated with key contextConfig.destroy
08.08.2007 07:13:48 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp 
conf/context.xml
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp conf/context.xml
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf 
Catalina/localhost/context.xml.default
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null
08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null
08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig 
processDefaultWebConfig
FEIN: Processing context [/xjosf] web configuration resource 
file://C:\tomcat-6.0.14tmp\conf\web.xml
08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig 
applicationWebConfig
FEIN: Missing application web.xml, using defaults only 
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf]
08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContex

AW: How to avoide delete context.xml - 6.0.14

2007-08-07 Thread hans.mader
Hi Hassan,

you mean my /webbappname/META-INF/context.xml

shuould look like:



...

The server appBase within the  is set to webapps.

The Catalina/localhost/webappname.xml (xjosf.xml) is the same as 
in META-INF. The server puts it into automatically.

Unfortunately I'm stopping and restarting the server again and again.

Regards, hans

-Ursprüngliche Nachricht-
Von: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 07. August 2007 16:59
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I am wondering about the
> <
> Missing application web.xml, ...

> I played with the context's docBase attribute, but with no success.
> (this context.xml placed in META-INF contains no docBase)

It shouldn't, nor should you have the path attribute -- remove it.

> 
> 

> FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf 
> Catalina/localhost/context.xml.default

? What's your appBase for this Host set to?

And what is in Catalina/localhost/context.xml? For the path you
apparently want you should have Catalina/localhost/xjosf.xml.

In any case, before proceeding, I would stop Tomcat, remove the
relevant file from Catalina/localhost/, delete the WAR, restart and
redeploy.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re-Deployment Problem - 6.0.14

2007-08-07 Thread hans.mader
Hi all,

I am not able to redeploy an application.
I used the deployment manager ANT tasks, or simply filecopy to /webapps.

I opened a thread before called "How to avoide delete context.xml - 6.0.14"
but this behaviour looks like standard, I guess.

The first deployment always works pretty fine,
the second doesn't.

After the 2nd deployment the context is marked as running,
but I am getting a "HTTP Status 404 - /xjosf/" response!

I would really appreciate any help or at least the info wether 
that is a known bug or not. Thanks a lot!!

My /META-INF/context.xml:
==




















The catalina*.log:
==
07.08.2007 10:13:21 org.apache.catalina.startup.ContextConfig stop
FEIN: ContextConfig: Processing STOP
07.08.2007 10:13:21 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/xjosf]
07.08.2007 10:13:21 org.apache.catalina.startup.ContextConfig destroy
FEIN: Cannot find message associated with key contextConfig.destroy
07.08.2007 10:13:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14 
conf/context.xml
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf 
Catalina/localhost/context.xml.default
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file 
C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml null
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml null
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig 
processDefaultWebConfig
FEIN: Processing context [/xjosf] web configuration resource 
file://C:\Tomcat-6.0.14\conf\web.xml
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig 
applicationWebConfig
FEIN: Missing application web.xml, using defaults only 
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf]
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContextValve/1.0
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: ==


Regards, Hans.



























































Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: How to avoide delete context.xml - 6.0.14

2007-08-06 Thread hans.mader
that's in the log.

I am wondering about the 
<
Missing application web.xml, ...
>

statement.

I played with the context's docBase attribute, but with no success.
(this context.xml placed in META-INF contains no docBase)





















Hans.



FEIN: ==
07.08.2007 07:40:59 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/xjosf]
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig stop
FEIN: ContextConfig: Processing STOP
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig destroy
FEIN: Cannot find message associated with key contextConfig.destroy
07.08.2007 07:40:59 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14 
conf/context.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf 
Catalina/localhost/context.xml.default
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Processing context [/xjosf] configuration file 
C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml null
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file 
C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml null
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
processDefaultWebConfig
FEIN: Processing context [/xjosf] web configuration resource 
file://C:\Tomcat-6.0.14\conf\web.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig 
applicationWebConfig
FEIN: Missing application web.xml, using defaults only 
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf]
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContextValve/1.0
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: ==

-Ursprüngliche Nachricht-
Von: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 06. August 2007 15:57
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> The first time of deployment, it works fine (ant based file copy to webapps)!
>
> The second time the server seems to deploy but the context isn't to be 
> started again...

Because? What's in your logs?

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: How to avoide delete context.xml - 6.0.14

2007-08-06 Thread hans.mader
I want to add, that the context couldn't get started (only after 2nd deployment)
although the server was restarted.

Hans.

-Ursprüngliche Nachricht-
Von: Mader Hans-Dieter, J-I 
Gesendet: Montag, 06. August 2007 09:28
An: 'Tomcat Users List'
Betreff: AW: How to avoide delete context.xml - 6.0.14


Hi,

I placed the context.xml into the META-INF,
undeployed (delete of WAR,exploded,conf/.../context.xml ) the previous app and 
deployed again.

The first time of deployment, it works fine (ant based file copy to webapps)!

The second time the server seems to deploy but the context isn't to be started 
again...

Hans.

-Ursprüngliche Nachricht-
Von: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 03. August 2007 18:20
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/3/07, Mark H. Wood <[EMAIL PROTECTED]> wrote:

> > After the copy, the previous installed
> > /conf/Catalina/localhost/myapp.xml will be deleted by the server
> > automatically.

You won't have this problem if you use META-INF/context.xml for
your context descriptor.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: How to avoide delete context.xml - 6.0.14

2007-08-06 Thread hans.mader
Hi,

I placed the context.xml into the META-INF,
undeployed (delete of WAR,exploded,conf/.../context.xml ) the previous app and 
deployed again.

The first time of deployment, it works fine (ant based file copy to webapps)!

The second time the server seems to deploy but the context isn't to be started 
again...

Hans.

-Ursprüngliche Nachricht-
Von: Hassan Schroeder [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 03. August 2007 18:20
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/3/07, Mark H. Wood <[EMAIL PROTECTED]> wrote:

> > After the copy, the previous installed
> > /conf/Catalina/localhost/myapp.xml will be deleted by the server
> > automatically.

You won't have this problem if you use META-INF/context.xml for
your context descriptor.

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to avoide delete context.xml - 6.0.14

2007-08-03 Thread hans.mader
Hi all,

I'm using /conf/Catalina/localhost/myapp.xml context configuration.
My deployment works as ant-copy directly to the /webapps directory.

After the copy, the previous installed /conf/Catalina/localhost/myapp.xml will 
be deleted by the
server automatically.

So I have to provide the file again, and to restart the server ;(

In 5.0.30 it works so cool...


Thanks.

Regards, hans





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: AW: Application outside WEBAPPS

2007-08-03 Thread hans.mader
hi,

useNaming does not affect here, correct.

What's the reason ignoring the path attribute? (6.0.14 ignores as well)

hans

-Ursprüngliche Nachricht-
Von: Pid [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 03. August 2007 09:39
An: Tomcat Users List
Betreff: Re: AW: Application outside WEBAPPS


[EMAIL PROTECTED] wrote:
> Place the myapp.xml in the /conf/Catalina/localhost/ directory.
> 
> 
>  >
> 

The path attribute will be ignored if your server version is +5.5.
("useNaming" is not relevant to this problem.)

p


> That's all.
> 
> Regards, Hans
> 
> -Ursprüngliche Nachricht-
> Von: Mladen Turk [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 02. August 2007 13:11
> An: Tomcat Users List
> Betreff: Re: Application outside WEBAPPS
> 
> 
> André Vila Cova wrote:
>> Hello!
>>
>> How can I invoke an application located outside WEBAPPS? What setup I need
>> to do?
>> If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I
>> invoke http://localhost/test... but if application is in other location?
>>
> 
> Take a look at
> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
> 
> docBase is your friend ;)
> 
> Regards,
> Mladen
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
> bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
> nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
> erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
> kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
> verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu 
> loeschen. Vielen Dank. 
> 
> This message is intended only for use by the named addressee and may contain 
> privileged and/or confidential information. If you are not the named 
> addressee, you should not disseminate, copy, or take any action in reliance 
> on it. If you have received this message in error, please immediately notify 
> the sender of this message and delete this message and any attachment. Thank 
> you.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 







Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: ResourceLink Problems in 6.0.13

2007-08-02 Thread hans.mader
Thanks Mark.

What about the release date of 6.0.14?

Regards,
Hans.



-Ursprüngliche Nachricht-
Von: Mark Thomas [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 02. August 2007 13:46
An: Tomcat Users List
Betreff: Re: ResourceLink Problems in 6.0.13


[EMAIL PROTECTED] wrote:
>> Hello, 
>>
>> here is my problem:
>>
>> Its not possible to override web.xml env.entries with server.xml env. 
>> entries (this works fine in TC 5.0.30)

This should be fixed in 6.0.14. See
http://marc.info/?l=tomcat-dev&m=118261088127037&w=2

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]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Application outside WEBAPPS

2007-08-02 Thread hans.mader
Place the myapp.xml in the /conf/Catalina/localhost/ directory.





That's all.

Regards, Hans

-Ursprüngliche Nachricht-
Von: Mladen Turk [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 02. August 2007 13:11
An: Tomcat Users List
Betreff: Re: Application outside WEBAPPS


André Vila Cova wrote:
> Hello!
> 
> How can I invoke an application located outside WEBAPPS? What setup I need
> to do?
> If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I
> invoke http://localhost/test... but if application is in other location?
> 

Take a look at
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

docBase is your friend ;)

Regards,
Mladen

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ResourceLink Problems in 6.0.13

2007-08-02 Thread hans.mader

> Hello, 
> 
> here is my problem:
> 
> Its not possible to override web.xml env.entries with server.xml env. entries 
> (this works fine in TC 5.0.30)
> 
> conf/server.xml:
> 
> 
>   
>  value="http://server:port/portalurl/"/>
> ...
> 
> 
> conf/Cataline/localhost/appcontext.xml:
> 
> ...
>  type="java.lang.String" />
> ...
> 
> 
> web.xml ( Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>):
> 
>   
> uiportal.webapp1.url
> http://test.com
> java.lang.String
>   
> 
> Thanks for any help!!!
> 
> Ing Hans-Dieter Mader
> Software Engineering / IT-Systeme 
> Jeep/Chrysler Produktion
> 
> [EMAIL PROTECTED]
> 
> MAGNA STEYR Fahrzeugtechnik
> Liebenauer Hauptstrasse 317, A-8041 Graz
> Tel.: ++43 316 404-190 3415 Fax ++43 316 404 2266
> 
> 
> 
> 





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.