cancel
Showing results for 
Search instead for 
Did you mean: 

New user inherited 'The remote server may be unavailable'

djob
Champ in-the-making
Champ in-the-making
Hello
I have just started a new post where I have inherited an Alfreso server with at least one issue. I have never used Alfresco but have extensive knowledge in open source such as Moodle, Mahara, Drupal etc and some server admin.

The issue with this Alfresco instance is with the login. I can get to the login form but that gives an error of:
"The remote server may be unavailable or your authentication details have not been recognized"

I have restarted the Tomcat service and also the machine so far.

This instance of Alfresco 4.0d Community is running on the D drive of a VM Windows server 2008 R2 Standard with 3GB RAM, it has been configured to run on port 8080.

The only alfresco log I can find is in C:/Windows/System32 created today:

08:51:34,581 ERROR [org.alfresco.web.site] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1931)
   at java.lang.String.substring(String.java:1904)
   at org.springframework.extensions.webscripts.servlet.mvc.ResourceController.applyHeaders(ResourceController.java:257)
   at org.springframework.extensions.webscripts.servlet.mvc.ResourceController.commitResponse(ResourceController.java:231)
   at org.springframework.extensions.webscripts.servlet.mvc.ResourceController.dispatchResource(ResourceController.java:155)
   at org.springframework.extensions.surf.mvc.VirtualizedResourceController.dispatchResource(VirtualizedResourceController.java:150)
   at org.springframework.extensions.webscripts.servlet.mvc.ResourceController.handleRequestInternal(ResourceController.java:126)
   at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
   at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
   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)
09:24:26,586 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:24:26,680 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:24:26,680 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:24:26,680 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:24:29,054 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 315 Web Scripts (+0 failed), 325 URLs
09:24:29,054 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
09:24:29,054 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
09:24:29,429 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2750.9795ms)
09:24:29,445 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:24:29,445 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:28:24,505 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
09:28:25,036 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Alfresco Portlet Extension"
09:28:25,036 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Hide Footer Module"
10:43:17,866 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
10:43:18,038 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
10:43:18,038 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
10:43:18,038 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
10:43:22,981 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 315 Web Scripts (+0 failed), 325 URLs
10:43:22,981 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
10:43:22,981 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
10:43:23,606 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 5549.6133ms)
10:43:23,606 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
10:43:23,622 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
10:43:32,194 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
10:43:33,054 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Alfresco Portlet Extension"
10:43:33,070 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Hide Footer Module"

There are other logs at D:/Alfresco/tomcat/logs:

jakarta_service_20130415 -

[2013-04-15 09:24:00] [info] Commons Daemon procrun (1.0.2.0) started
[2013-04-15 09:24:00] [info] Running Service…
[2013-04-15 09:24:00] [info] Starting service…
[2013-04-15 09:24:01] [info] Service started in 1234 ms.
[2013-04-15 10:39:32] [info] Console SHUTDOWN event signaled
[2013-04-15 10:39:33] [info] Stopping service…
[2013-04-15 10:39:35] [info] Service stopped.
[2013-04-15 10:39:35] [info] Run service finished.
[2013-04-15 10:39:35] [info] Commons Daemon procrun finished.
[2013-04-15 10:42:35] [info] Commons Daemon procrun (1.0.2.0) started
[2013-04-15 10:42:35] [info] Running Service…
[2013-04-15 10:42:35] [info] Starting service…
[2013-04-15 10:42:39] [info] Service started in 4250 ms.

And stdout_20130415 which is to large for a paste bin or to upload here.

Any help that can be offered will be greatly appreciated and please let me know if any other information is needed.
Many Thanks



11 REPLIES 11

ernest
Champ in-the-making
Champ in-the-making
Hi, the problem might be that your Alfresco server did not start up properly. this:""The remote server may be unavailable or your authentication details have not been recognized"" sometimes indicates that.

stop the server, clear the logs, then restart again and attach the catalina.out file here.  this ""Service started in 4250 ms."" doesn't always mean that your server started successfully.

djob
Champ in-the-making
Champ in-the-making
Hi Ernest
Thank you for the reply.

When you say clear the logs do you mean delete all of the log files associated to Alfresco?
Regards

djob
Champ in-the-making
Champ in-the-making
Hi
I have cleared the the logs and restarted alfresco Tomcat. I believe there is no catalina.out file on Windows so have attached stdout_20130417.

I can see that

10:05:01,700 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found

is a problem, but have found nothing googling around to help me.

Kind regards

I did attach the stdout file but cannot see it in the post so have pasted it to http://paste2.org/I1C0MKNZ

djob
Champ in-the-making
Champ in-the-making
Hello
I need to get this issue resolved very quickly now and am looking for paid support. The companies listed as partners on alfresco.com don't really look like they would do a one off ad hoc job.

Would anybody know of a person who could help with the above problem?
Thank youo

pawel_rzeszowsk
Champ in-the-making
Champ in-the-making
does your Alfresco installation Tomcat run on 8080 port?
Regards,
Pawel Rzeszowski.

djob
Champ in-the-making
Champ in-the-making
Hi Pawel
Thank you for the reply. Yes it does run on port 8080.
Regards
Dave

pawel_rzeszowsk
Champ in-the-making
Champ in-the-making
I have taken look at your logs.
It seems that your Solr certificate had expired.
Tak a look here:

<li>https://forums.alfresco.com/forum/announcements/important-ssl-certs-solr-alfresco-4-expire-week-0815...</li>
Regards,
Pawel Rzeszowski.

djob
Champ in-the-making
Champ in-the-making
Hi Pawel
I followed through the instructions on http://wiki.alfresco.com/wiki/Alfresco_And_SOLR#Generating_new_SSL_certificates
This has not fixed the problem. I cleared the logs and restarted Tomcat and DB.

alfresco.log is:
13:44:45,486 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:44:45,548 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:44:45,548 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:44:45,548 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:44:47,533 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 315 Web Scripts (+0 failed), 325 URLs
13:44:47,533 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:44:47,533 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
13:44:48,017 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2458.8865ms)
13:44:48,017 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:44:48,033 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:44:51,986 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
13:44:52,674 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Alfresco Portlet Extension"
13:44:52,689 ERROR [org.springframework.extensions.surf.ModuleDeploymentService] Could not save module deployment for: "Hide Footer Module"

stdout_20130422.log is:
2013-04-22 13:44:45,486  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2013-04-22 13:44:45,548  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
2013-04-22 13:44:45,548  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2013-04-22 13:44:45,548  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
2013-04-22 13:44:47,533  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 315 Web Scripts (+0 failed), 325 URLs
2013-04-22 13:44:47,533  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 8 Package Description Documents (+0 failed)
2013-04-22 13:44:47,533  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 0 Schema Description Documents (+0 failed)
2013-04-22 13:44:48,017  INFO  [extensions.webscripts.AbstractRuntimeContainer] [Thread-1] Initialised Spring Surf Container Web Script Container (in 2458.8865ms)
2013-04-22 13:44:48,017  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2013-04-22 13:44:48,033  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
13:44:48,564 WARN  [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : en_GB
13:44:51,924 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
2013-04-22 13:44:51,986  INFO  [web.site.EditionInterceptor] [http-8080-2] Unable to retrieve License information from Alfresco: 404
2013-04-22 13:44:52,674  ERROR [extensions.surf.ModuleDeploymentService] [http-8080-2] Could not save module deployment for: "Alfresco Portlet Extension"
2013-04-22 13:44:52,689  ERROR [extensions.surf.ModuleDeploymentService] [http-8080-2] Could not save module deployment for: "Hide Footer Module"
13:44:53,939 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:44:55,955 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:44:57,971 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:44:59,987 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:45:02,003 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:45:04,019 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
13:45:09,535 WARN  [org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl] WQS unable to connect to repository: Not Found
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.

stderr_20130422.log is:
http://paste2.org/m42GZXjP

Many thanks
Dave

djob
Champ in-the-making
Champ in-the-making
Hello
Is there a way to export all of the content store to file system so that I can at least recover the 45GB of files?
Thank you