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

vignesh_sabapat
Champ in-the-making
Champ in-the-making
Hi Djob,

I would like to know what is the procedure you are starting the alfresco server. I am surprised to see there is no log file. Is it a bundled installation ?. Are you starting alfresco as window service ? Which version of JDK are you using? (Suspecting a jdk issue). Also I think you are accessing share application. Can you able to login into webclient at http://hostSmiley Tongueort/alfresco ?

djob
Champ in-the-making
Champ in-the-making
Hi Vignesh
Thank you for the reply
I believe it was a bundled installation and Alfresco is started as a Windows service. I have tried the cmd java -version but it is not recognized, possibly because Java is installed on the D drive. I have tried setting an Environment Variable of JAVA_HOME value D:\Alfresco\java\bin and added ;%JAVA_HOME%\bin to the Path Value but this does not work.

I can get to the login page on the web client but get an error "The remote server may be unavailable or your authentication details have not been recognized"

Is there another way to find out the Java version?
Many Thanks