我对ALfresco来说相对比较新,但是经过实验后已经安装了5.0.d版本,现在尝试设置201510 EA版本。
我正在努力设置Web快速入门。 我从早期的安装中注意到,肉类数据需要有真正的域名而不是localhost / 127.0.0.1 IP地址。
不幸的是我再也找不到元设置了。
我还尝试在安装过程中使用域名而不是localhost安装系统,但没有区别。我得到的只是
Spring Surf 1.0.0
Spring Surf has been installed at this location.
A root page has not been defined.
我需要做些什么来实现这个目标?
修改
在Quick Start Editorial
和Quick Start Live
文件夹中找到元数据。然后可以编辑元数据(或德语中的Eigenschaften)。尽管如此,它还没有解决问题(正如在5.0.0.d中所做的那样)
修改-2
我在webquickstart.log
:
19:20:27,889 WARN [org.alfresco.wcm.client.impl.WebSiteServiceImpl] Received a request for unrecognised host+port: sbd.mydom.tld:8080/wcmqs
19:20:27,890 WARN [org.alfresco.wcm.client.interceptor.ApplicationDataInterceptor] Received request for which no configured website can be found: sbd.mydom.tld:8080
19:20:27,890 ERROR [org.alfresco.wcm.client.exceptionresolver.RepositoryExceptionResolver] org.alfresco.wcm.client.exception.PageNotFoundException: sbd.mydom.tld:8080
org.alfresco.wcm.client.exception.PageNotFoundException: sbd.mydom.tld:8080
at org.alfresco.wcm.client.interceptor.ApplicationDataInterceptor.preHandle(ApplicationDataInterceptor.java:79)
at org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:134)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:928)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
答案 0 :(得分:0)
此链接有帮助吗?有人和你有同样的问题(我认为它是一样的)他写道他用以下方法解决了这个问题:
我刚刚意识到我需要编辑包含内容的文件夹的属性。我更改了IP地址,现在可以使用我的外部IP地址了。
我希望这会有所帮助。
答案 1 :(得分:0)
这里涉及两个课程:
ApplicationDataInterceptor.java
ApplicationDataInterceptor调用WebSiteServiceImpl以基于主机,端口和上下文路径获取站点。
如您所见,WebSiteServiceImpl执行CMIS查询以查找所有已注册的站点:
private static final String QUERY_WEB_ROOTS = "select f.cmis:objectId, w.ws:hostName, w.ws:hostPort, t.cm:title, t.cm:description, w.ws:webAppContext, w.ws:siteConfig "
+ "from cmis:folder as f "
+ "join ws:website as w on w.cmis:objectId = f.cmis:objectId "
+ "join cm:titled as t on t.cmis:objectId = f.cmis:objectId";
如果将WebSiteServiceImpl的日志级别设置为debug,您将在日志中找到此查询。 然后,您可以在查询浏览器中执行它并查看它返回的内容。你应该看到你的网站。根据返回的错误,似乎有另一个站点配置了相同的ip / port / context并且没有根索引页。
答案 2 :(得分:0)
我现在已经安装了最新版本的Alfresco(201602),并且按预期工作。
与之前安装的主要区别在于我没有更改
Webserver-Domäne: [127.0.0.1]:
来自预设值。
在上次安装期间,我尝试在这里设置域名,这似乎是问题所在。
如上所述,在文件夹Quick Start Editorial
的元数据中设置域信息所需的第二步。
现在可行。