Thanks - I'd seen that link you mention, and it briefly describes how to
make web-gui work when using the standalone Cocoon installation. My
understanding of that is that involves running a batch file that starts
an instance of Jetty which then serves up Cocoon as a root webapp.

In the deployment scenario I would like to get working, there is a
pre-existing tomcat running multiple webapps.  Deploying cocoon.war to
Tomcat makes Cocoon available as another webapp, accessible at a URL
like http://<myserver>/cocoon. In my case, I deployed to the default
Tomcat webapps directory, and the war is expanded in webapps\cocoon.
This all seems to work fine, so far so good.

Next I tried to copy the web-gui directory and its contents to
webapps\cocoon\web-gui, and then figure out what needs to change in the
webapps\cocoon\sitemap.xmap file to tell cocoon to point all web-gui/**
URLs to webapps\cocoon\web-gui\sitemap.xmap.  I thought that this
approach would let me access web-gui using a URL like
http://<myserver>/cocoon/web-gui.  However I have yet to figure out how
to change the root sitemap to make this work - I've messed up multiple
attempts :-(  My last attempt involved adding this entry in the
<map:pipelines> element of the webapps\cocoon\sitemap.xmap file:

<map:match pattern="web-gui/**">
  <map:mount check-reload="yes" src="webapps/cocoon/web-gui/"
uri-prefix="web-gui/"/>
</map:match>

This is wrong as cocoon returns an error claiming there's no pipe
configured for web-gui/index.html.

Anyway that's what I'm looking for help with. I'm trying to get this
deployed to an existing Tomcat so that multiple people can access
web-gui from their browsers without needing local installs of anything. 

Maybe it's more appropriate to ask this question on a cocoon list since
the problem is completely cocoon-specific.  Thanks anyway for your help.

 
Steve Olson


-----Original Message-----
From: Steve Viens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 08, 2005 3:36 PM
To: [email protected]
Subject: Re: doc for web-gui deployment

There should be a README doc in the root directory of the web gui. 
Here's a link to it in CVS:

http://cvs.apache.org/viewcvs.cgi/ws-juddi/extras/browser/README?rev=1.2
&view=markup

Steve

On 6/8/05, Olson, Steve <[EMAIL PROTECTED]> wrote:
> 
> 
> I'd like to deploy the web-gui application to an existing standalone
Tomcat
> running a 2.1.7 cocoon install.  I have cocoon installed and working
under
> this tomcat, but am completely new to it, as well as jUDDI.  Is there
info
> anywhere about how to deploy web-gui to this environment?  So far I
have
> tried copying the web-gui directory to the webapps/cocoon directory
and
> tried to change sitemap.xmap to point to the
cocoon/web-gui/sitemap.xmap
> file, but cannot get it set right so that a url like
> http://localhost:8080/cocoon/web-gui to work.  Is there an
> example somewhere for this sort of deploy? 
> 
>  
> 
> Thanks in advance for any info/tips...
> 
>  
> 
>  
> 
> Steve Olson
> 
>  
> ******************************* The information contained in this
message
> may be privileged and/or confidential and protected from disclosure.
If the
> reader of this message is not the intended recipient, or an employee
or
> agent responsible for delivering this message to the intended
recipient, you
> are hereby notified that any dissemination, distribution or copying of
this
> communication is strictly prohibited. Note that any views or opinions
> presented in this message are solely those of the author and do not
> necessarily represent those of Ameren. All emails are subject to
monitoring
> and archival. Finally, the recipient should check this message and any
> attachments for the presence of viruses. Ameren accepts no liability
for any
> damage caused by any virus transmitted by this email. If you have
received
> this in error, please notify the sender immediately by replying to the
> message and deleting the material from any computer. Ameren
Corporation
> *******************************

*******************************
The information contained in this message may be privileged and/or confidential 
and 
protected from disclosure. If the reader of this message is not the intended 
recipient, 
or an employee or agent responsible for delivering this message to the intended 
recipient, 
you are hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. Note that any views or opinions presented 
in this 
message are solely those of the author and do not necessarily represent those 
of Ameren. 
All emails are subject to monitoring and archival. Finally, the recipient 
should check 
this message and any attachments for the presence of viruses. Ameren accepts no 
liability 
for any damage caused by any virus transmitted by this email. If you have 
received this in 
error, please notify the sender immediately by replying to the message and 
deleting the 
material from any computer. Ameren Corporation 
*******************************



Reply via email to