RE: Dynamic Context

2003-07-23 Thread Elisabeth Rotbach
Hi,

1)  My goal is to store into th server files uploaded and the user must be 
able to consult these documents.
My main application is deployed with a war. To consult document, I have 
found this solution : creation of an another webapp (docBase - store 
directory).

2) A webapp shouldn't create other webapps.
  Ok! But, how works the manager  ?
Elisabeth - Toulouse


From: Shapira, Yoav [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Dynamic Context
Date: Tue, 22 Jul 2003 13:45:52 -0400
Howdy,

I have already post this question, but I haven't find the solution.

Sometimes when solutions aren't posted, it's because people have read
the question and don't feel like delving into what seems like a bad
design to start with ;)
A webapp shouldn't create other webapps.  It should be independent and
self-contained.  If you insist on going this route, good luck ;)  If
you're open to other designs, perhaps you could state your design goals
and people can help you with other, more elegant ways of achieving these
goals.
Yoav Shapira



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]
_
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Dynamic Context

2003-07-22 Thread Elisabeth Rotbach
Hi,

I have already post this question, but I haven't find the solution.

I am trying to create a new context into a ServletContextListener.
== A Tomcat server is started whith usual method (server.xml and 
catalina.bat run).
In a specific context, a class (extend of ServletContextListener) try to 
create (or install, or deploy)
an other context. This second context is used to store files on the disk and 
to distibute these files.
My first and main context is an application distributed by a war. I cannot 
store files into.

I am using Tomcat 4.1.24.

I followed instruction from article : Embedding Tomcat Into Java 
Applications from site http://www.onjava.com/onjava/j2ee/;.
But I have errors : Can't create connector, wrappen can found 
DefaultServlet, 
In this article, the article create an engine, a host, ..., but in my case I 
have already these objects !

I have tried also to use code similar as ManagerServlet.
I wrote a servlet what implements ContainerServlet and my webapp had 
privileged=true attribute.
But setWrapper was never call !

Have you an idea about my problem ?

Thanks for your help,

Elisabeth - Toulouse

_
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


New context

2003-07-03 Thread Elisabeth Rotbach
Hello,

I would like to create (install) a new context (just a direcotry) from my 
application
(in a ServletContextListener per exemple).

I had see the ServletManager source and had search in archive mail whitout 
success.
If I use : org.apache.catalina.startup.Embedded, catalina.bat not found this 
class !

Have you an idea to do this ?

Thanks,

Elisabeth J.
Toulouse
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://search.msn.fr/

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


RE: New context

2003-07-03 Thread Elisabeth Rotbach
Yes.


From: Atreya Basu [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: New context
Date: Thu, 03 Jul 2003 08:21:52 -0300
Just to understand your question... You are trying to dynamically create
a new context?  Like when Tomcat has already started?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From: Elisabeth Rotbach [mailto:[EMAIL PROTECTED]
Sent: July 3, 2003 7:25 AM
To: [EMAIL PROTECTED]
Subject: New context
Hello,

I would like to create (install) a new context (just a direcotry) from
my
application
(in a ServletContextListener per exemple).
I had see the ServletManager source and had search in archive mail
whitout
success.
If I use : org.apache.catalina.startup.Embedded, catalina.bat not found
this
class !
Have you an idea to do this ?

Thanks,

Elisabeth J.
Toulouse
_
MSN Search, le moteur de recherche qui pense comme vous !
http://search.msn.fr/
-
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]
_
MSN Messenger 6 http://g.msn.fr/FR1001/866  : dialoguez en son et en image 
avec vos amis.

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


Re: jspc ant task and merge web.xml

2003-07-03 Thread Elisabeth Rotbach
To merge several xml, I use : xmltask from http://www.oopsconsultancy.com.

EJL
Toulouse

From: BOULAY Arnaud [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: jspc ant task and merge web.xml
Date: Thu, 03 Jul 2003 16:33:30 +0200
Hi !
I want to do an automatic merge of newweb.xml file generated with jspc 
task with an existing  web.xml.
Thanks in advance.
Regards, Arnaud

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger 6 http://g.msn.fr/FR1001/866  : dialoguez en son et en image 
avec vos amis.

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