You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by GrantEdwards <a4...@yahoo.com> on 2010/06/25 13:46:28 UTC

not a publish point for the current website

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

-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/not-a-publish-point-for-the-current-website-tp2268341p2268341.html
Sent from the OFBiz - User mailing list archive at Nabble.com.