not a publish point for the current website

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

not a publish point for the current website

GrantEdwards
Hi

I have a customised version of ecommerce, called a4u-ecommerce, together with its own controller.xml file.

I have added the following request to this controller.xml.
Basically this request should result in the user been redirected to TripIt.com so that authorisation can take place via OAuth.
<request-map uri="oauthAccessTokenGetter">
        <security https="true" direct-request="false"/>
        <event type="java" path="com.gat.socialmedia.events.tripit.TripitEvents" invoke="oauthAccessTokenGetter"/>
        <response name="success" type="none"/>
        <response name="error" type="view" value="home"/>
</request-map>


Info from my log file:
Servlet.java:131:INFO ] [[[oauthAccessTokenGetter] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2010-06-25 12:16:57,948 (http-0.0.0.0-8443-2) [    ConfigXMLReader.java:118:INFO ] controller loaded: 0.02s, 310 requests, 117 views in jndi:/0.0.0.0/a4u-ecommerce/WEB-INF/controller.xml
2010-06-25 12:16:57,949 (http-0.0.0.0-8443-2) [          CmsEvents.java:133:INFO ] Path INFO for Alias: oauthAccessTokenGetter
2010-06-25 12:16:57,958 (http-0.0.0.0-8443-2) [     RequestHandler.java:588:INFO ] Ran Event [java:org.ofbiz.content.cms.CmsEvents#cms] from [request], result is [error]
2010-06-25 12:16:57,977 (http-0.0.0.0-8443-2) [     RequestHandler.java:399:ERROR] Request cms caused an error with the following message: Content: null [oauthAccessTokenGetter] is not a publish point for the current website: eCommerce Web Site [WebStore]
2010-06-25 12:16:57,977 (http-0.0.0.0-8443-2) [     RequestHandler.java:692:INFO ] Rendering View [error], sessionId=9CA750AAAE47AED4846ECB074681A3A2.jvm1
2010-06-25 12:16:58,101 (http-0.0.0.0-8443-2) [       SequenceUtil.java:341:INFO ] Got bank of sequenced IDs for [ServerHitBin]; curSeqId=176520, maxSeqId=176530, bankSize=10
2010-06-25 12:16:58,168 (http-0.0.0.0-8443-2) [     ControlServlet.java:309:INFO ] [[[oauthAccessTokenGetter] Request Done- total:0.354,since last([oauthAccessToken...):0.354]]


My Problem:
I am not sure why my request is been treated as a CmsEvents event which in turn I believe results in the error message "Content: null [oauthAccessTokenGetter] is not a publish point for the current website: eCommerce Web Site [WebStore]".

Any help would be much appreciated.

Kind regards

Grant Edwards