12-25-2016 06:54 AM
Hello all,
I have a problem in a sever running alfresco 3.4.0, I can't connect to it because of a hardware problem, thus I want to move the content to another server, would it be better to:
-make a migration(I can't find the set up file with the same version 3.4.0)
-make an upgrade in old server to recent version and then migrate to the new server
or if you have any beter suggestion
thanks in advance
12-25-2016 12:34 PM
The WARs for 3.4 can still be found on artifacts.alfresco.com (i.e. https://artifacts.alfresco.com/nexus/service/local/repo_groups/public/content/org/alfresco/alfresco/... ) and installers are still available via Community file list 3.4.d. The main question is only which of the 3.4 versions you need. 3.4 Community edition has had about 5 releases (labeled a through e). You may have also used the 3.4.0 Enterprise Edition version, which you cann still find on the support portal for Enterprise customers.
Also, with regards to moving the content: This will only be possible if you can connect to the existing server at least via SSH / SCP (if using Linux) or RDP (if using Windows). When you cannot connect at all (due to the hardware problem), then I hope you have setup an external database and content storage because otherwise there will be no chance at all to migrate unless you fix the connectivity issues.
Ideally, you would first do an "as-is" move using the exact same version of Alfresco. Only if you have successfully recovered your current data/system and can access your (restored) system just fine should you consider doing an upgrade. Otherwise if problems come up you may have difficulties in determining if the problems are due to an incorrect data recovery or a result of the actual upgrade.
12-25-2016 03:50 PM
Thanks a lot Sir,
I found a version that was installed using a .exe v3.4.0 for win32, now I would like to migrate the content to alfresco community(in my new win64) weither it'd be v3.4+ or latest version but the folder architecture is not the same, when I proceed as mentionned in the doc website (migrating servers) I encouter some login problems.
as for the old server it detects devices that I plug directly, and I can copy the alf_data and backup the db for the migration procedure.
12-27-2016 11:46 AM
can you please post your logs from the beginning when you are starting the server after migration ?
12-28-2016 05:24 AM
Hello yogeshPJ,
this is the log from stderr:
28 déc. 2016 10:04:29 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@21b367]) and a value of type [com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactoryUtil.FactorySettings] (value [com.ibatis.sqlmap.engine.mapping.result.ResultObjectFactoryUtil$FactorySettings@1045aa2]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
28 déc. 2016 10:04:29 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@da7a9f]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
====================================================and this is the log from stdout:
10:05:42,661 ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11280001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js': 11280000 SyntaxError: illegally formed XML syntax (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js#45(eval)#1)
org.springframework.extensions.webscripts.WebScriptException: 11280001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js': 11280000 SyntaxError: illegally formed XML syntax (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js#45(eval)#1)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:200)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:981)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:69)
at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:231)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
at org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:99)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.extensions.webscripts.WebScriptException: 11280000 SyntaxError: illegally formed XML syntax (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js#45(eval)#1)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:328)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScript(JSScriptProcessor.java:192)
... 38 more
Caused by: org.mozilla.javascript.EcmaError: SyntaxError: illegally formed XML syntax (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js#45(eval)#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:89)
at org.mozilla.javascript.Parser.addError(Parser.java:140)
at org.mozilla.javascript.TokenStream.getNextXMLToken(TokenStream.java:1060)
at org.mozilla.javascript.TokenStream.getFirstXMLToken(TokenStream.java:911)
at org.mozilla.javascript.Parser.xmlInitializer(Parser.java:1607)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1584)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1519)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1500)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1480)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1454)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1410)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1399)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1388)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1377)
at org.mozilla.javascript.Parser.andExpr(Parser.java:1365)
at org.mozilla.javascript.Parser.orExpr(Parser.java:1353)
at org.mozilla.javascript.Parser.condExpr(Parser.java:1336)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:1321)
at org.mozilla.javascript.Parser.expr(Parser.java:1308)
at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2045)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:1729)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1590)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1519)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1500)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1480)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1454)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1410)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1399)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1388)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1377)
at org.mozilla.javascript.Parser.andExpr(Parser.java:1365)
at org.mozilla.javascript.Parser.orExpr(Parser.java:1353)
at org.mozilla.javascript.Parser.condExpr(Parser.java:1336)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:1321)
at org.mozilla.javascript.Parser.expr(Parser.java:1308)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1205)
at org.mozilla.javascript.Parser.statement(Parser.java:655)
at org.mozilla.javascript.Parser.parse(Parser.java:377)
at org.mozilla.javascript.Parser.parse(Parser.java:315)
at org.mozilla.javascript.Context.compileImpl(Context.java:2320)
at org.mozilla.javascript.Context.compileString(Context.java:1348)
at org.mozilla.javascript.ScriptRuntime.evalSpecial(ScriptRuntime.java:2276)
at org.mozilla.javascript.ScriptRuntime.callSpecial(ScriptRuntime.java:2143)
at org.mozilla.javascript.optimizer.OptRuntime.callSpecial(OptRuntime.java:165)
at org.mozilla.javascript.gen.c13._c1(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js:45)
at org.mozilla.javascript.gen.c13.call(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c13._c0(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js:62)
at org.mozilla.javascript.gen.c13.call(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c13.call(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js)
at org.mozilla.javascript.gen.c13.exec(file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/profile/change-password.post.json.js)
at org.springframework.extensions.webscripts.processor.JSScriptProcessor.executeScriptImpl(JSScriptProcessor.java:318)
... 39 more
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
WARN : org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl - WQS unable to connect to repository: Introuvable
12-28-2016 10:56 AM
Seems like you have similar situation like Password problem with Share .
Can you please change "change-password.post.json.js" file as mentioned in the link ?
Also can you please answer following questions.
It will be helpful to understand the flow how it is trying to call "change password" web-script, if you can answers above questions
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.