Just as an additional thought: can the reason be that I am running the
tacos-demo application on Tomcat 5.5 while trying to make SiteMap
working on WAS CE (WebSphere Community Edition). WAS CE uses Tomcat for
servlet container, but I couldn't make tacos-demo 4.1 working on it: the
server stubbornly complained about some illegal CDATA in web.xml no
matter what I tried to do... Yet another piece of the puzzle is that
tacos-demo 4.0 worked on WAS CE. 

-----Original Message-----
From: Kolesnikov, Alexander GNI 
Sent: 13 December 2007 16:45
To: Tapestry users
Subject: RE: [T4]Tacos: struggling with SiteMap


Yeah, I did that, put a custom sitemap.xml into the WEB-INF of my
application and added this to the hivemodule.xml:

<service-point id="SiteMap" interface="net.sf.tacos.services.SiteMap">
            <invoke-factory service-id="hivemind.BuilderFactory"
model="singleton" >
                <construct
class="net.sf.tacos.services.impl.SiteMapImpl"
                            initialize-method="initialize">
                    <set-resource property="resource"
path="sitemap.xml"/>
                </construct>
            </invoke-factory>
        </service-point>

But it doesn't work...

-----Original Message-----
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
Sent: 13 December 2007 16:36
To: Tapestry users
Subject: Re: [T4]Tacos: struggling with SiteMap


Don't remember for sure but I think it wants you to define your own
sitemap.xml file and set that on the service.

On Dec 13, 2007 11:30 AM, Kolesnikov, Alexander      GNI
<[EMAIL PROTECTED]> wrote:
> I am trying to make SiteMap service working following instructions
> found
> here:
> http://tacos.sourceforge.net/hivemind/SiteMap.html
> However, trying to run the application, I am having an exception that
> boils down to the following:
> No valid resource URL could be resolved:jar:file:/C:/Program
> Files/.../WEB-INF/lib/tacos-core-4.1.0.jar!/META-INF/doesntexist.xml
>
> In other words, there is no doesntexist.xml file in the META-INF
> directory of the Tacos JAR, while this file is mentioned in the 
> service configuration in the same JAR:
>
> <set-resource property="resource" path="doesntexist.xml"/>
>
> So it looks like there is a problem with the Tacos JAR. What puzzles
> me however is that tacos-demo application works okay with the same 
> jar...
>
> Can't figure out why it doesn't work for me then. Any suggestions?
>
> Thanks,
> Alexander
>
> ----------------------------------------------------------------------
> --------
> CONFIDENTIALITY NOTICE: If you have received this email in error,
please immediately notify the sender by e-mail at the address shown.
This email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity
to whom it is intended even if addressed incorrectly.  Please delete it
from your files if you are not the intended recipient.  Thank you for
your compliance.  Copyright 2007 CIGNA
>
========================================================================
======
>



-- 
Jesse Kuhnert
Tapestry / OGNL / Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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



------------------------------------------------------------------------
------
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by e-mail at the address shown.  This
email transmission may contain confidential information.  This
information is intended only for the use of the individual(s) or entity
to whom it is intended even if addressed incorrectly.  Please delete it
from your files if you are not the intended recipient.  Thank you for
your compliance.  Copyright 2007 CIGNA
========================================================================
======


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



------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==============================================================================


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

Reply via email to