Re: How could I autodeploy my webapps onto arbitrary path -s?

2005-04-04 Thread Zoltan Kanizsai
Thanks for the idea, urlencoding seems to help:

For the path: corp/edit/
I can use the filename:
  corp%2Fedit%2F.xml

However, I don't like this whole story.
I'd like to use the path= parameter
in the xml files, as I could before...

Zoltan


QM wrote:
 
 On Wed, Mar 30, 2005 at 06:11:38PM +0200, Zoltan Kanizsai wrote:
 : In 5.5.7, the path= parameter is forbidden with these
 : context xml files. The path will be derived from the
 : file name. Subdirectories are not processed, not even in
 : the $CATALINA_HOME/conf/[enginename]/[hostname] folder.
 :
 : How could I autodeploy my webapps onto arbitrary path -s?
 
 There was a recent thread on just this subject.  You have to put special
 chars in the filename, which are interpreted as / characters as the file
 is processed.
 
 I don't recall the exact character, but you should be able to find it in
 the archives.
 
 -QM
 
 --
 
 software   -- http://www.brandxdev.net/
 tech news  -- http://www.RoarNetworX.com/
 code scan  -- http://www.JxRef.org/
 
 -
 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]



How could I autodeploy my webapps onto arbitrary path -s?

2005-03-31 Thread Zoltan Kanizsai
Hi,

Formerly, with Tomcat 4.1, I was able to dynamically create
small xml files (e.g. context-foo-editor.xml),
which I dropped into the appBase directory.
The files contained some Context elements like:

  Context path=/company/foo/editor docBase=/...

Then a could access my application via:
   http://www...com/company/foo/editor/ 

In 5.5.7, the path= parameter is forbidden with these
context xml files. The path will be derived from the
file name. Subdirectories are not processed, not even in
the $CATALINA_HOME/conf/[enginename]/[hostname] folder.

How could I autodeploy my webapps onto arbitrary path -s?

Thanks for the help.
Zoltan


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



Re: How could I autodeploy my webapps onto arbitrary path -s?

2005-03-31 Thread QM
On Wed, Mar 30, 2005 at 06:11:38PM +0200, Zoltan Kanizsai wrote:
: In 5.5.7, the path= parameter is forbidden with these
: context xml files. The path will be derived from the
: file name. Subdirectories are not processed, not even in
: the $CATALINA_HOME/conf/[enginename]/[hostname] folder.
: 
: How could I autodeploy my webapps onto arbitrary path -s?

There was a recent thread on just this subject.  You have to put special
chars in the filename, which are interpreted as / characters as the file
is processed.

I don't recall the exact character, but you should be able to find it in
the archives.

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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