Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 07/08/2013 12:25:59

srigottiparthi
Guest
Registered: 02/08/2013
Posts: 7

live version problem

whenever i am trying to run preview page giving output correct.but to test live version it was not highlighted the live link.
whats the problem
how can fix this problem.

http://localhost:8086/cms/preview/test/en/home/login/apparel/baby-apparel.html

giving correct page.
when i was tried like

http://localhost:8086/cms/live/test/en/home/login/apparel/baby-apparel.html

giving error:
org.apache.cocoon.ResourceNotFoundException : No pipeline matched request: test/en/home/login/apparel/baby-apparel.html
<map:mount> - context:/resource://org/ametys/runtime/kernel/sitemap.xmap - 199 : 109

show me help

Offline

#2 07/08/2013 18:51:28

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 323

Re: live version problem

Hello,

This is typically the case if the content is not yet validated.
What does contain your page ?

Regards,
Cédric

Offline

#3 08/08/2013 08:25:23

srigottiparthi
Guest
Registered: 02/08/2013
Posts: 7

Re: live version problem

thanks for responding my question

i got solution for my problem.
actually i hadn't added any service in the my page thats why it didn't show.
i checked by adding one service, now it is running properly

Offline

#4 08/08/2013 08:31:04

srigottiparthi
Guest
Registered: 02/08/2013
Posts: 7

Re: live version problem

i have one more doubt

i prepared one site.i logined as contriutor and make a page.
now my problem is how can i put my site availabe to public in the internet.
whatever url giving while configure the site used in the internet it asking login credentials.
but the credentials not required for common people in the internet.
how can i fix this problem

Offline

#5 08/08/2013 11:08:44

Cédric Damioli
Ametys Product Manager
From: Toulouse
Registered: 10/08/2010
Posts: 323

Re: live version problem

I'm not sure to understand.
You've installed the two applications : cms AND site ?

If so, visitors should access to the site application and not the CMS.

Offline

#6 12/08/2013 08:52:44

srigottiparthi
Guest
Registered: 02/08/2013
Posts: 7

Re: live version problem

whenever i am giving following url

http://localhost:8086/site/

giving the error is

java.net.ConnectException : Connection refused

what should i do for this?
thanks for reply?

Offline

#7 26/08/2013 09:47:53

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: live version problem

Could you give a longer error message?
you can find it in your log file (site/WEB-INF/logs).


Raphael Franchet
Expert Ametys

Offline

#8 19/09/2014 19:14:19

niken
Guest
Registered: 19/09/2014
Posts: 7

Re: live version problem

Hi Ametys team:
     URGENT! When I produce a website with Ametys, I encounter the same problem about the live version, like Floor 4.
     The Ametys CMS I use is the 3.4.6version. the database is mySQL5.5. Java version1.6.


i prepared one site.i logined as contriutor and make a page.
now my problem is how can i put my site availabe to public in the internet.
whatever url giving while configure the site used in the internet it asking login credentials.
but the credentials not required for common people in the internet.
how can i fix this problem

i have installed both the cms and the site.

the error message I got is as below, could you kindly help with it? Thanks so much!

2014-09-20 00:51:40,660 ERROR [sitemap.handled-errors] Unable to synchronize site data
java.lang.RuntimeException: Unable to synchronize site data
    at org.ametys.plugins.site.SiteCache._synchronizeSites(SiteCache.java:110)
    at org.ametys.plugins.site.SiteCache.getSites(SiteCache.java:71)
    at org.ametys.site.GetSiteAction.act(GetSiteAction.java:71)
    at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
    at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
    at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
    at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
    at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:178)
    at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
    at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
    at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1159)
    at org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:135)
    at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: http://localhost:8080/baihuacms/_sites.xml
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
    at org.apache.excalibur.source.impl.URLSource.getInputStream(URLSource.java:284)
    at org.ametys.plugins.site.SiteCache._synchronizeSites(SiteCache.java:90)

Offline

#9 19/09/2014 20:10:47

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: live version problem

The visitors have to connect to the site apllication and not the cms.
You have to configure it first to correctly communicate with the cms. And the cms to communicate with the site.
In the cms admin, in general conf you have to set the site application url (can be http:// localhost:8080) and the authorized ips of the site app (can be 127.0.0.1). And in the cms admin site conf you have to the visitor url (can http:// )
In the site app admin you have to set the back url (can be http:// localhost:8080/cms)

For a fast response or an expert overview consider subscribing to our support.

Regards


Raphael Franchet
Expert Ametys

Offline

#10 20/09/2014 03:13:13

niken
Guest
Registered: 19/09/2014
Posts: 7

Re: live version problem

Yes.
I config my website:
In Admin configuration
Section CMS:

Back-office URL : http://localhost:8080/cms

Section Websites:

front-office Ip: 127.0.0.1
front-office URL:http://localhost:8080

My demo website's baihuacms
I try to access to below URL:
http://localhost:8080
then getting above error.

Offline

#11 22/09/2014 11:02:28

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: live version problem

In the frontoffice admin (http://localhost:8080/_admin) you set the wrong value for the backoffice url

You set this "http://localhost:8080/baihuacms"
but should be "http://localhost:8080/cms"

So your error is the frontoffice that cannot join the backoffice


Raphael Franchet
Expert Ametys

Offline

Board footer

Powered by FluxBB